···1+{ stdenv, fetchurl, pkgconfig
2+, libjpeg, libtiff, libpng, freetype
3+, fltk, gtk
4+, libX11, libXext, libICE
5+, dbus, dbus_libs
6+}:
7+8+stdenv.mkDerivation rec {
9+10+ name = "afterstep-${version}";
11+ version = "2.2.12";
12+ sourceName = "AfterStep-${version}";
13+14+ src = fetchurl {
15+ urls = [ "ftp://ftp.afterstep.org/stable/${sourceName}.tar.bz2" ];
16+ sha256 = "1j7vkx1ig4kzwffdxnkqv3kld9qi3sam4w2nhq18waqjsi8xl5gz";
17+ };
18+19+ buildInputs = [ pkgconfig libjpeg libtiff libpng freetype fltk gtk libX11 libXext libICE dbus dbus_libs ];
20+21+ # A strange type of bug: dbus is not immediately found by pkgconfig
22+ preConfigure = ''
23+ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
24+ '';
25+26+ meta = with stdenv.lib; {
27+ description = "A NEXTStep-inspired window manager";
28+ longDescription = ''
29+ AfterStep is a window manager for the Unix X Window
30+ System. Originally based on the look and feel of the NeXTStep
31+ interface, it provides end users with a consistent, clean, and
32+ elegant desktop. The goal of AfterStep development is to provide
33+ for flexibility of desktop configuration, improving aestetics,
34+ and efficient use of system resources.
35+ '';
36+ homepage = http://www.afterstep.org/;
37+ license = licenses.gpl2;
38+ maintainers = [ maintainers.AndersonTorres ];
39+ platforms = platforms.linux;
40+ };
41+42+}
+7-1
pkgs/top-level/all-packages.nix
···167 x11 = xlibsWrapper;
168169 # `xlibs' is the set of X library components. This used to be the
170- # old modular X llibraries project (called `xlibs') but now it's just
171 # the set of packages in the modular X.org tree (which also includes
172 # non-library components like the server, drivers, fonts, etc.).
173 xlibs = xorg // {xlibs = xlibsWrapper;};
···8455 adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
84568457 aewan = callPackage ../applications/editors/aewan { };
00000084588459 alchemy = callPackage ../applications/graphics/alchemy { };
8460
···167 x11 = xlibsWrapper;
168169 # `xlibs' is the set of X library components. This used to be the
170+ # old modular X libraries project (called `xlibs') but now it's just
171 # the set of packages in the modular X.org tree (which also includes
172 # non-library components like the server, drivers, fonts, etc.).
173 xlibs = xorg // {xlibs = xlibsWrapper;};
···8455 adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
84568457 aewan = callPackage ../applications/editors/aewan { };
8458+8459+ afterstep = callPackage ../applications/window-managers/afterstep {
8460+ inherit (xlibs) libX11 libXext libICE;
8461+ fltk = fltk13;
8462+ gtk = gtk2;
8463+ };
84648465 alchemy = callPackage ../applications/graphics/alchemy { };
8466