about summary refs log tree commit diff
path: root/pkgs/applications/window-managers/larswm/default.nix
blob: 7a6c44abb5511f7af9e906ac1cef302be620aba5 (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
25
{stdenv, fetchurl, imake, libX11, libXext, libXmu}:

stdenv.mkDerivation {
  name = "larswm-7.5.3";

  src = fetchurl {
    url = mirror://sourceforge/larswm/larswm-7.5.3.tar.gz;
    sha256 = "1xmlx9g1nhklxjrg0wvsya01s4k5b9fphnpl9zdwp29mm484ni3v";
  };

  buildInputs = [ imake libX11 libXext libXmu ];

  configurePhase = ''
    xmkmf
    makeFlags="BINDIR=$out/bin MANPATH=$out/share/man"
    installTargets="install install.man"
  '';

  meta = {
    homepage = http://larswm.fnurt.net/;
    description = "9wm-like tiling window manager";
    license = stdenv.lib.licenses.free;
    platforms = stdenv.lib.platforms.linux;
  };
}