nixpkgs/pkgs/applications/window-managers/spectrwm/default.nix
Vilhelm Bergsøe c48c7283f4 spectrwm: SPECTRWM_3_4_1 -> 06e3733
bump spectrwm to 06e3733
2023-10-04 10:46:41 +02:00

49 lines
1.3 KiB
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, xorg }:
stdenv.mkDerivation {
pname = "spectrwm";
version = "unstable-2023-05-07";
src = fetchFromGitHub {
owner = "conformal";
repo = "spectrwm";
rev = "06e3733175969c307a6fd47240a7a37b29d60513";
sha256 = "QcEwFg9QTi+cCl2JghKOzEZ19LP/ZFMbZJAMJ0BLH9M=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = with xorg; [
libXrandr
libXcursor
libXft
libXt
xcbutil
xcbutilkeysyms
xcbutilwm
];
prePatch = let
subdir = if stdenv.isDarwin then "osx" else "linux";
in "cd ${subdir}";
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
description = "A tiling window manager";
homepage = "https://github.com/conformal/spectrwm";
maintainers = with maintainers; [ christianharke ];
license = licenses.isc;
platforms = platforms.all;
longDescription = ''
spectrwm is a small dynamic tiling window manager for X11. It
tries to stay out of the way so that valuable screen real estate
can be used for much more important stuff. It has sane defaults
and does not require one to learn a language to do any
configuration. It was written by hackers for hackers and it
strives to be small, compact and fast.
'';
};
}