mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
8a58e5fe49
* version bump to 0.7 svn path=/nixpkgs/trunk/; revision=11609
18 lines
431 B
Nix
18 lines
431 B
Nix
{cabal, X11, xmessage}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "xmonad";
|
|
name = "${self.fname}";
|
|
version = "0.7";
|
|
sha256 = "d5ee338eb6d0680082e20eaafa0b23b32358fffe69e2ec4ad7bdf6e03c751d67";
|
|
extraBuildInputs = [X11];
|
|
meta = {
|
|
description = "xmonad is a tiling window manager for X";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace XMonad/Core.hs --replace \
|
|
'"xmessage"' '"${xmessage}/bin/xmessage"'
|
|
'';
|
|
})
|