summary refs log tree commit diff
path: root/pkgs/applications/window-managers/xmonad/default.nix
blob: fd215986fa30ecd33af27ce542a1ee0a9576a7c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ cabal, extensibleExceptions, mtl, utf8String, X11, xmessage }:

cabal.mkDerivation (self: {
  pname = "xmonad";
  version = "0.10";
  sha256 = "19z5y36pybsm93x6hlj5hzyys9r4ag7hkdib5spsnryk2mv72xj6";
  isLibrary = true;
  isExecutable = true;
  buildDepends = [ extensibleExceptions mtl utf8String X11 ];
  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
    ];
  };

  preConfigure = ''
    substituteInPlace XMonad/Core.hs --replace \
      '"xmessage"' '"${xmessage}/bin/xmessage"'
  '';
})