summary refs log tree commit diff
path: root/pkgs/applications/window-managers/evilwm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/window-managers/evilwm/default.nix')
-rw-r--r--pkgs/applications/window-managers/evilwm/default.nix28
1 files changed, 21 insertions, 7 deletions
diff --git a/pkgs/applications/window-managers/evilwm/default.nix b/pkgs/applications/window-managers/evilwm/default.nix
index 94562cd0d22..c11d3d6b14d 100644
--- a/pkgs/applications/window-managers/evilwm/default.nix
+++ b/pkgs/applications/window-managers/evilwm/default.nix
@@ -1,16 +1,30 @@
-{ lib, stdenv, fetchurl,  libX11, libXext, libXrandr, libXrender,
-  xorgproto, patches ? [] }:
+{ lib
+, stdenv
+, fetchurl
+, libX11
+, libXext
+, libXrandr
+, libXrender
+, xorgproto
+, patches ? [ ]
+}:
 
 stdenv.mkDerivation rec {
-  name = "evilwm-1.1.1";
+  pname = "evilwm";
+  version = "1.1.1";
 
   src = fetchurl {
-    url = "http://www.6809.org.uk/evilwm/${name}.tar.gz";
+    url = "http://www.6809.org.uk/evilwm/evilwm-${version}.tar.gz";
     sha256 = "79589c296a5915ee0bae1d231e8912601fc794d9f0a9cacb6b648ff9a5f2602a";
   };
 
-  buildInputs = [ libX11 libXext libXrandr libXrender
-                  xorgproto ];
+  buildInputs = [
+    libX11
+    libXext
+    libXrandr
+    libXrender
+    xorgproto
+  ];
 
   prePatch = ''substituteInPlace ./Makefile --replace /usr $out \
                                             --replace "CC = gcc" "#CC = gcc"'';
@@ -27,7 +41,7 @@ stdenv.mkDerivation rec {
       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.
+    }; # like BSD/MIT, but Share-Alike'y; See README.
 
     maintainers = with maintainers; [ amiloradovsky ];
     platforms = platforms.all;