nixpkgs/pkgs/applications/window-managers/cwm/default.nix
0x4A6F d8dda825a7
cwm: 0.5.6 -> 0.6.3
(cherry picked from commit 141f41b583b6eb9f620f04d04d6e544381761612)
2019-09-29 17:30:48 +02:00

28 lines
755 B
Nix

{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
stdenv.mkDerivation rec {
pname = "cwm";
version = "6.3";
src = fetchFromGitHub {
owner = "leahneukirchen";
repo = pname;
rev = "v${version}";
sha256 = "1m08gd6nscwfx6040zbg2zl89m4g73im68iflzcihd6pdc8rzzs4";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXinerama libXrandr libXft yacc ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = with stdenv.lib; {
description = "A lightweight and efficient window manager for X11";
homepage = "https://github.com/leahneukirchen/cwm";
maintainers = with maintainers; [ "0x4A6F" ];
license = licenses.isc;
platforms = platforms.linux;
};
}