nixpkgs/pkgs/applications/window-managers/xmonad/default.nix
Peter Simons 21b26aef25 Updated Haskell package meta sections.
svn path=/nixpkgs/trunk/; revision=28583
2011-08-15 11:27:02 +00:00

26 lines
678 B
Nix

{cabal, X11, mtl, xmessage, syb}:
cabal.mkDerivation (self: {
pname = "xmonad";
name = "${self.fname}";
version = "0.9.2";
sha256 = "07w5k3pqmybjn0zh2nr1glp69685xg2fhj3z9zxb37x5nzss7kdd";
noHaddock = true;
propagatedBuildInputs = [X11 mtl syb];
meta = {
homepage = "http://xmonad.org";
description = "A tiling window manager";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
preConfigure = ''
substituteInPlace XMonad/Core.hs --replace \
'"xmessage"' '"${xmessage}/bin/xmessage"'
'';
})