summary refs log tree commit diff
path: root/pkgs/applications/window-managers/icewm/default.nix
blob: 3b1c3b4ad37aa3e7f1a413264d8488fd9c095b51 (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
30
31
32
33
34
35
36
37
{ stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype
, fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }:

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

  buildInputs =
    [ gettext libjpeg libtiff libungif libpng
      xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr
      xlibs.libICE xlibs.libSM freetype fontconfig
      pkgconfig gdk_pixbuf
    ];

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

  patches = [ ./deprecated.patch ];

  NIX_LDFLAGS = "-lfontconfig";

  # The fuloong2f is not supported by 1.3.6 still
  #
  # Don't know whether 1.3.7 supports fuloong2f and don't know how to test it
  # on x86_64 hardware. So I left this 'cp' -- urkud

  preConfigure = ''
    cp -v ${automake}/share/automake*/config.{sub,guess} .
  '';

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