···11+{ stdenv, fetchurl, pkgconfig
22+, libjpeg, libtiff, libpng, freetype
33+, fltk, gtk
44+, libX11, libXext, libICE
55+, dbus, dbus_libs
66+}:
77+88+stdenv.mkDerivation rec {
99+1010+ name = "afterstep-${version}";
1111+ version = "2.2.12";
1212+ sourceName = "AfterStep-${version}";
1313+1414+ src = fetchurl {
1515+ urls = [ "ftp://ftp.afterstep.org/stable/${sourceName}.tar.bz2" ];
1616+ sha256 = "1j7vkx1ig4kzwffdxnkqv3kld9qi3sam4w2nhq18waqjsi8xl5gz";
1717+ };
1818+1919+ buildInputs = [ pkgconfig libjpeg libtiff libpng freetype fltk gtk libX11 libXext libICE dbus dbus_libs ];
2020+2121+ # A strange type of bug: dbus is not immediately found by pkgconfig
2222+ preConfigure = ''
2323+ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
2424+ '';
2525+2626+ meta = with stdenv.lib; {
2727+ description = "A NEXTStep-inspired window manager";
2828+ longDescription = ''
2929+ AfterStep is a window manager for the Unix X Window
3030+ System. Originally based on the look and feel of the NeXTStep
3131+ interface, it provides end users with a consistent, clean, and
3232+ elegant desktop. The goal of AfterStep development is to provide
3333+ for flexibility of desktop configuration, improving aestetics,
3434+ and efficient use of system resources.
3535+ '';
3636+ homepage = http://www.afterstep.org/;
3737+ license = licenses.gpl2;
3838+ maintainers = [ maintainers.AndersonTorres ];
3939+ platforms = platforms.linux;
4040+ };
4141+4242+}
+7-1
pkgs/top-level/all-packages.nix
···167167 x11 = xlibsWrapper;
168168169169 # `xlibs' is the set of X library components. This used to be the
170170- # old modular X llibraries project (called `xlibs') but now it's just
170170+ # old modular X libraries project (called `xlibs') but now it's just
171171 # the set of packages in the modular X.org tree (which also includes
172172 # non-library components like the server, drivers, fonts, etc.).
173173 xlibs = xorg // {xlibs = xlibsWrapper;};
···84558455 adobe-reader = callPackage_i686 ../applications/misc/adobe-reader { };
8456845684578457 aewan = callPackage ../applications/editors/aewan { };
84588458+84598459+ afterstep = callPackage ../applications/window-managers/afterstep {
84608460+ inherit (xlibs) libX11 libXext libICE;
84618461+ fltk = fltk13;
84628462+ gtk = gtk2;
84638463+ };
8458846484598465 alchemy = callPackage ../applications/graphics/alchemy { };
84608466