blob: 0f8eed4a8bbc7b44529554e433611e6a35e478bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ stdenv, fetchgit, libX11, libXinerama, libXft, libXext, patches ? [] }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dwm";
src = fetchgit {
url = "https://github.com/LukeSmithXYZ/dwm";
rev = "28d87d439359096e2f03f2e8582a481269de06be";
sha256 = "1fi0q68zqcmnx4spvjaqlv0k43ij96bz3545qdlc077qhzw2lxxh";
};
buildInputs = [ libX11 libXinerama libXft libXext ];
prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
inherit patches;
buildPhase = " make ";
meta = {
homepage = "https://github.com/LukeSmithXYZ/dwm";
description = "Luke's build of dwm";
license = stdenv.lib.licenses.mit;
platforms = with stdenv.lib.platforms; all;
};
}
|