2021-11-07 13:50:48 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXrandr
|
|
|
|
, libXrender
|
|
|
|
, xorgproto
|
|
|
|
, patches ? [ ]
|
|
|
|
}:
|
2016-07-19 11:48:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "evilwm";
|
2024-03-10 12:43:33 +00:00
|
|
|
version = "1.4.3";
|
2016-07-19 11:48:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 13:50:48 +00:00
|
|
|
url = "http://www.6809.org.uk/evilwm/evilwm-${version}.tar.gz";
|
2024-03-10 12:43:33 +00:00
|
|
|
sha256 = "sha256-1ZRbILEskdskEvrA29o/ucPsjeu44bEJg4mSsrG75dQ=";
|
2016-07-19 11:48:07 +00:00
|
|
|
};
|
|
|
|
|
2021-11-07 13:50:48 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
xorgproto
|
|
|
|
];
|
2016-07-19 11:48:07 +00:00
|
|
|
|
2021-11-08 08:45:05 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace ./Makefile \
|
|
|
|
--replace /usr $out \
|
|
|
|
--replace "CC = gcc" "#CC = gcc"
|
|
|
|
'';
|
2016-07-19 11:48:07 +00:00
|
|
|
|
|
|
|
# Allow users set their own list of patches
|
|
|
|
inherit patches;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.6809.org.uk/evilwm/";
|
2016-07-19 11:48:07 +00:00
|
|
|
description = "Minimalist window manager for the X Window System";
|
|
|
|
license = {
|
|
|
|
shortName = "evilwm";
|
|
|
|
fullName = "Custom, inherited from aewm and 9wm";
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "http://www.6809.org.uk/evilwm/";
|
2016-07-19 11:48:07 +00:00
|
|
|
free = true;
|
2021-11-07 13:50:48 +00:00
|
|
|
}; # like BSD/MIT, but Share-Alike'y; See README.
|
2016-07-19 11:48:07 +00:00
|
|
|
maintainers = with maintainers; [ amiloradovsky ];
|
|
|
|
platforms = platforms.all;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "evilwm";
|
2016-07-19 11:48:07 +00:00
|
|
|
};
|
|
|
|
}
|