2008-04-12 14:34:21 +02:00
|
|
|
{cabal, X11, xmessage}:
|
2008-01-16 11:35:49 +01:00
|
|
|
|
2008-04-12 14:34:21 +02:00
|
|
|
cabal.mkDerivation (self : {
|
2008-01-16 11:35:49 +01:00
|
|
|
pname = "xmonad";
|
2008-04-12 14:34:21 +02:00
|
|
|
name = "${self.fname}";
|
|
|
|
version = "0.7";
|
|
|
|
sha256 = "d5ee338eb6d0680082e20eaafa0b23b32358fffe69e2ec4ad7bdf6e03c751d67";
|
|
|
|
extraBuildInputs = [X11];
|
2008-01-16 11:35:49 +01:00
|
|
|
meta = {
|
|
|
|
description = "xmonad is a tiling window manager for X";
|
|
|
|
};
|
|
|
|
|
2008-04-12 14:34:21 +02:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace XMonad/Core.hs --replace \
|
|
|
|
'"xmessage"' '"${xmessage}/bin/xmessage"'
|
2008-01-16 11:35:49 +01:00
|
|
|
'';
|
|
|
|
})
|