mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
spectrwm: refresh (#412860)
This commit is contained in:
commit
4c40752989
1 changed files with 25 additions and 24 deletions
|
@ -4,7 +4,13 @@
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
libbsd,
|
libbsd,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
xorg,
|
libXrandr,
|
||||||
|
libXcursor,
|
||||||
|
libXft,
|
||||||
|
libXt,
|
||||||
|
xcbutil,
|
||||||
|
xcbutilkeysyms,
|
||||||
|
xcbutilwm,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -14,39 +20,34 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "conformal";
|
owner = "conformal";
|
||||||
repo = "spectrwm";
|
repo = "spectrwm";
|
||||||
rev = "SPECTRWM_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
tag = "SPECTRWM_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||||
hash = "sha256-Dnn/iIrceiAVuMR8iMGcc7LqNhWC496eT5gNrYOInRU=";
|
hash = "sha256-Dnn/iIrceiAVuMR8iMGcc7LqNhWC496eT5gNrYOInRU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = (
|
buildInputs = [
|
||||||
with xorg;
|
libXrandr
|
||||||
[
|
libXcursor
|
||||||
libXrandr
|
libXft
|
||||||
libXcursor
|
libXt
|
||||||
libXft
|
xcbutil
|
||||||
libXt
|
xcbutilkeysyms
|
||||||
xcbutil
|
xcbutilwm
|
||||||
xcbutilkeysyms
|
libbsd
|
||||||
xcbutilwm
|
];
|
||||||
]
|
|
||||||
++ [ libbsd ]
|
|
||||||
);
|
|
||||||
|
|
||||||
prePatch =
|
sourceRoot = finalAttrs.src.name + (if stdenv.hostPlatform.isDarwin then "/osx" else "/linux");
|
||||||
let
|
|
||||||
subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
|
|
||||||
in
|
|
||||||
"cd ${subdir}";
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Tiling window manager";
|
description = "Tiling window manager";
|
||||||
homepage = "https://github.com/conformal/spectrwm";
|
homepage = "https://github.com/conformal/spectrwm";
|
||||||
maintainers = with maintainers; [ rake5k ];
|
maintainers = with lib.maintainers; [
|
||||||
license = licenses.isc;
|
rake5k
|
||||||
platforms = platforms.all;
|
];
|
||||||
|
license = lib.licenses.isc;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
spectrwm is a small dynamic tiling window manager for X11. It
|
spectrwm is a small dynamic tiling window manager for X11. It
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue