1 { lib, stdenv, fetchurl, pkg-config
3 , libXext, libXft, libXpm, libXrandr, libXrender, xorgproto
7 stdenv.mkDerivation rec {
13 url = "mirror://sourceforge/fluxbox/${pname}-${version}.tar.xz";
14 sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
18 # Upstream fix to build against gcc-11.
20 name = "gcc-11.patch";
21 url = "http://git.fluxbox.org/fluxbox.git/patch/?id=22866c4d30f5b289c429c5ca88d800200db4fc4f";
22 sha256 = "1x7126rlmzky51lk370fczssgnjs7i6wgfaikfib9pvn4vv945ai";
26 nativeBuildInputs = [ pkg-config ];
28 buildInputs = [ freetype fribidi libXext libXft libXpm libXrandr libXrender xorgproto libXinerama imlib2 ];
30 enableParallelBuilding = true;
33 substituteInPlace util/fluxbox-generate_menu.in \
34 --subst-var-by PREFIX "$out"
38 description = "Full-featured, light-resource X window manager";
40 Fluxbox is a X window manager based on Blackbox 0.61.1 window
41 manager sources. It is very light on resources and easy to
42 handle but yet full of features to make an easy, and extremely
43 fast, desktop experience. It is written in C++ and licensed
46 homepage = "http://fluxbox.org/";
47 license = licenses.mit;
48 maintainers = [ maintainers.AndersonTorres ];
49 platforms = platforms.linux;
52 # Many thanks Jack Ryan from Nix-dev mailing list!