osrm-backend: fix build with boost187 (#379056)
[NixPkgs.git] / pkgs / applications / window-managers / evilwm / default.nix
blob782c80599bed403a78cd4a8ba394318021ea17b9
2   lib,
3   stdenv,
4   fetchurl,
5   libX11,
6   libXext,
7   libXrandr,
8   libXrender,
9   xorgproto,
10   patches ? [ ],
13 stdenv.mkDerivation rec {
14   pname = "evilwm";
15   version = "1.4.3";
17   src = fetchurl {
18     url = "http://www.6809.org.uk/evilwm/evilwm-${version}.tar.gz";
19     sha256 = "sha256-1ZRbILEskdskEvrA29o/ucPsjeu44bEJg4mSsrG75dQ=";
20   };
22   buildInputs = [
23     libX11
24     libXext
25     libXrandr
26     libXrender
27     xorgproto
28   ];
30   postPatch = ''
31     substituteInPlace ./Makefile \
32       --replace /usr $out \
33       --replace "CC = gcc" "#CC = gcc"
34   '';
36   # Allow users set their own list of patches
37   inherit patches;
39   meta = with lib; {
40     homepage = "http://www.6809.org.uk/evilwm/";
41     description = "Minimalist window manager for the X Window System";
42     license = {
43       shortName = "evilwm";
44       fullName = "Custom, inherited from aewm and 9wm";
45       url = "http://www.6809.org.uk/evilwm/";
46       free = true;
47     }; # like BSD/MIT, but Share-Alike'y; See README.
48     maintainers = with maintainers; [ amiloradovsky ];
49     platforms = platforms.all;
50     mainProgram = "evilwm";
51   };