summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/window-managers/cwm
diff options
context:
space:
mode:
authorPeter Panaguiton <paspanag@gmail.com>2015-12-04 14:57:16 -0700
committerRok Garbas <rok@garbas.si>2015-12-05 20:47:09 +0100
commit1b0edf40c32f833a0ee106d798857b8add65e403 (patch)
treed64f10f291a6647ef35e876e4b1665f98e81d877 /pkgs/applications/window-managers/cwm
parent43a1cfccf55b5e4cb8a38199373087d0f3c22e2e (diff)
cwm: init at 5.6, fixes #11458
Diffstat (limited to 'pkgs/applications/window-managers/cwm')
-rw-r--r--pkgs/applications/window-managers/cwm/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/cwm/default.nix b/pkgs/applications/window-managers/cwm/default.nix
new file mode 100644
index 000000000000..b2aa4de40c02
--- /dev/null
+++ b/pkgs/applications/window-managers/cwm/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ name = "cwm-5.6";
+
+ src = fetchFromGitHub {
+ owner = "chneukirchen";
+ repo = "cwm";
+ rev = "b7a8c11750d11721a897fdb8442d52f15e7a24a0";
+ sha256 = "0a0x8rgqif4kxy7hj70hck7jma6c8jy4428ybl8fz9qxgxh014ml";
+ };
+
+ buildInputs = [ libX11 libXinerama libXrandr libXft yacc pkgconfig ];
+
+ 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/chneukirchen/cwm;
+ maintainers = [];
+ license = licenses.isc;
+ platforms = platforms.linux;
+ };
+}