From 17b127205da6b0168898bd0bdf2f0ccd5170f09f Mon Sep 17 00:00:00 2001 From: Andrew Miloradovsky Date: Tue, 19 Jul 2016 11:48:07 +0000 Subject: [PATCH] evilwm: init at 1.1.1 (#17104) Minimalist window manager for the X Window System --- lib/maintainers.nix | 1 + .../window-managers/evilwm/default.nix | 35 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 +++ 3 files changed, 40 insertions(+) create mode 100644 pkgs/applications/window-managers/evilwm/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 56816bb206c2..f4ca38a0597d 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -432,4 +432,5 @@ zimbatm = "zimbatm "; zohl = "Al Zohali "; zoomulator = "Kim Simmons "; + amiloradovsky = "Andrew Miloradovsky "; } diff --git a/pkgs/applications/window-managers/evilwm/default.nix b/pkgs/applications/window-managers/evilwm/default.nix new file mode 100644 index 000000000000..27f80023bb37 --- /dev/null +++ b/pkgs/applications/window-managers/evilwm/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchurl, libX11, libXext, libXrandr, libXrender, + xproto, xextproto, randrproto, renderproto, kbproto, patches ? [] }: + +stdenv.mkDerivation rec { + name = "evilwm-1.1.1"; + + src = fetchurl { + url = "http://www.6809.org.uk/evilwm/${name}.tar.gz"; + sha256 = "79589c296a5915ee0bae1d231e8912601fc794d9f0a9cacb6b648ff9a5f2602a"; + }; + + buildInputs = [ libX11 libXext libXrandr libXrender + xproto xextproto randrproto renderproto kbproto ]; + + prePatch = ''substituteInPlace ./Makefile --replace /usr $out \ + --replace "CC = gcc" "#CC = gcc"''; + + # Allow users set their own list of patches + inherit patches; + + meta = with stdenv.lib; { + homepage = "http://www.6809.org.uk/evilwm/"; + description = "Minimalist window manager for the X Window System"; + + license = { + shortName = "evilwm"; + fullName = "Custom, inherited from aewm and 9wm"; + url = http://www.6809.org.uk/evilwm/; + free = true; + }; # like BSD/MIT, but Share-Alike'y; See README. + + maintainers = with maintainers; [ amiloradovsky ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 91f0e2f07e78..2a613e99d784 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12562,6 +12562,10 @@ in patches = config.dwm.patches or []; }; + evilwm = callPackage ../applications/window-managers/evilwm { + patches = config.evilwm.patches or []; + }; + dzen2 = callPackage ../applications/window-managers/dzen2 { }; eaglemode = callPackage ../applications/misc/eaglemode { };