2013-01-04 19:09:51 +01:00
|
|
|
{ cabal, extensibleExceptions, filepath, mtl, utf8String, X11 }:
|
2008-01-16 11:35:49 +01:00
|
|
|
|
2011-08-15 13:27:02 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2008-01-16 11:35:49 +01:00
|
|
|
pname = "xmonad";
|
2013-01-04 19:09:51 +01:00
|
|
|
version = "0.11";
|
|
|
|
sha256 = "1nsv88y2b206n3s5hrsp5ginvz1bj818ns7jmikavb2g33akdgg5";
|
2011-11-20 11:13:34 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2013-01-04 19:09:51 +01:00
|
|
|
buildDepends = [
|
|
|
|
extensibleExceptions filepath mtl utf8String X11
|
|
|
|
];
|
2013-02-11 23:25:37 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/man/man1
|
|
|
|
mv $out/share/xmonad-*/man/*.1 $out/share/man/man1/
|
|
|
|
'';
|
2013-12-12 22:33:51 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Patch to make xmonad use XMONAD_{GHC,XMESSAGE} (if available).
|
|
|
|
./xmonad_ghc_var_0.11.patch
|
|
|
|
];
|
|
|
|
|
2008-01-16 11:35:49 +01:00
|
|
|
meta = {
|
2011-08-15 13:27:02 +02:00
|
|
|
homepage = "http://xmonad.org";
|
|
|
|
description = "A tiling window manager";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-01-04 19:09:51 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2008-01-16 11:35:49 +01:00
|
|
|
};
|
|
|
|
})
|