2016-07-19 12:48:07 +01:00
|
|
|
{ stdenv, fetchurl, libX11, libXext, libXrandr, libXrender,
|
2018-12-31 03:40:47 +00:00
|
|
|
xorgproto, patches ? [] }:
|
2016-07-19 12:48:07 +01:00
|
|
|
|
|
|
|
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
|
2018-12-31 03:40:47 +00:00
|
|
|
xorgproto ];
|
2016-07-19 12:48:07 +01:00
|
|
|
|
|
|
|
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; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.6809.org.uk/evilwm/;
|
2016-07-19 12:48:07 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|