1{ stdenv, fetchurl, pkgconfig
2, libX11, libXext, libXft, libXmu, libXinerama, libXrandr, libXpm
3, imagemagick, libpng, libjpeg, libexif, libtiff, libungif, libwebp }:
4
5stdenv.mkDerivation rec {
6 name = "windowmaker-${version}";
7 version = "0.95.6";
8 srcName = "WindowMaker-${version}";
9
10 src = fetchurl {
11 url = "http://windowmaker.org/pub/source/release/${srcName}.tar.gz";
12 sha256 = "1i3dw1yagsa3rs9x2na2ynqlgmbahayws0kz4vl00fla6550nns3";
13 };
14
15 buildInputs = [ pkgconfig
16 libX11 libXext libXft libXmu libXinerama libXrandr libXpm
17 imagemagick libpng libjpeg libexif libtiff libungif libwebp ];
18
19 configureFlags = [
20 "--with-x"
21 "--enable-modelock"
22 "--enable-randr"
23 "--enable-magick"
24 ];
25
26 meta = with stdenv.lib; {
27 homepage = http://windowmaker.org/;
28 description = "NeXTSTEP-like window manager";
29 longDescription = ''
30 Window Maker is an X11 window manager originally designed to
31 provide integration support for the GNUstep Desktop
32 Environment. In every way possible, it reproduces the elegant look
33 and feel of the NEXTSTEP user interface. It is fast, feature rich,
34 easy to configure, and easy to use. It is also free software, with
35 contributions being made by programmers from around the world.
36 '';
37 license = licenses.gpl2Plus;
38 maintainers = [ maintainers.AndersonTorres ];
39 };
40}
41
42# TODO: investigate support for WEBP (its autodetection is failing)