1 { lib, stdenv, fetchurl, pkg-config
2 , libX11, libXext, libXft }:
4 let version = "1.40"; in
10 url = "http://nickgravgaard.com/windowlab/windowlab-${version}.tar";
11 sha256 = "1fx4jwq4s98p2wpvawsiww7d6568bpjgcjpks61dzfj8p2j32s4d";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ libX11 libXext libXft ];
19 mv Makefile Makefile.orig
23 EXTRA_INC += $(pkg-config --cflags xft)
24 EXTRA_LIBS += $(pkg-config --libs xft)
26 sed "s|/usr/local|$out|g" Makefile.orig >> Makefile
30 { description = "Small and simple stacking window manager";
31 homepage = "http://nickgravgaard.com/windowlab/";
32 license = licenses.gpl2;
33 maintainers = with maintainers; [ ehmry ];
34 platforms = platforms.linux;
35 mainProgram = "windowlab";