2011-03-17 20:21:26 +01:00
|
|
|
{ stdenv, fetchurl, libX11, libXext, libXinerama, libXpm, libXft, freetype,
|
|
|
|
fontconfig }:
|
2008-03-25 10:50:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-07-28 17:35:01 +02:00
|
|
|
name = "jwm-2.0.1";
|
|
|
|
|
2008-03-25 10:50:54 +01:00
|
|
|
src = fetchurl {
|
2008-08-06 11:50:41 +02:00
|
|
|
url = http://www.joewing.net/programs/jwm/releases/jwm-2.0.1.tar.bz2;
|
2008-03-25 10:50:54 +01:00
|
|
|
sha256 = "1ix5y00cmg3cyazl0adzgv49140zxaf2dpngyg1dyy4ma6ysdmnw";
|
|
|
|
};
|
|
|
|
|
2011-03-17 20:21:26 +01:00
|
|
|
buildInputs = [ libX11 libXext libXinerama libXpm libXft freetype
|
|
|
|
fontconfig ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2 "
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lXft -lfreetype -lfontconfig "
|
|
|
|
'';
|
2008-03-25 10:50:54 +01:00
|
|
|
|
2010-07-28 17:35:01 +02:00
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
sed -i -e s/rxvt/xterm/g $out/etc/system.jwmrc
|
|
|
|
sed -i -e "s/.*Swallow.*\|.*xload.*//" $out/etc/system.jwmrc
|
|
|
|
'';
|
2008-03-25 10:50:54 +01:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A window manager for X11 that requires only Xlib";
|
2008-03-25 10:50:54 +01:00
|
|
|
};
|
|
|
|
}
|