summary refs log tree commit diff
path: root/pkgs/applications/window-managers/icewm/default.nix
blob: 632bc50c8690c584e451204dfe50b329f4bc6d82 (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
26
27
28
29
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, imlib
, xlibs, automake, pkgconfig, gtk }:

stdenv.mkDerivation rec {
  name = "icewm-1.3.6";

  buildInputs =
    [ gettext libjpeg libtiff libungif libpng imlib
      xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr
      pkgconfig gtk
    ];

  src = fetchurl {
    url = "mirror://sourceforge/icewm/${name}.tar.gz";
    sha256 = "1pr7rc10rddwvy4ncng4mf5fpxd1nqjsw34xba9ngsg32rg57b91";
  };

  NIX_LDFLAGS = "-lfontconfig";

  # The fuloong2f is not supported by 1.3.6 still
  preConfigure = ''
    cp ${automake}/share/automake*/config.{sub,guess} .
  '';

  meta = {
    description = "A window manager for the X Window System";
    homepage = http://www.icewm.org/;
  };
}