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