2014-08-18 15:08:18 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig
|
|
|
|
, freetype, fribidi
|
|
|
|
, libXext, libXft, libXpm, libXrandr, libXrender, xextproto
|
|
|
|
, libXinerama
|
2014-09-10 20:59:54 +02:00
|
|
|
, imlib2 }:
|
2014-08-18 15:08:18 +02:00
|
|
|
|
2015-02-25 04:53:38 +01:00
|
|
|
with stdenv.lib;
|
2014-08-18 15:08:18 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "fluxbox-${version}";
|
2015-02-25 04:53:38 +01:00
|
|
|
version = "1.3.7";
|
2014-08-18 15:08:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-02-25 04:53:38 +01:00
|
|
|
url = "mirror://sourceforge/fluxbox/${name}.tar.xz";
|
|
|
|
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
|
2014-08-18 15:08:18 +02:00
|
|
|
};
|
|
|
|
|
2016-05-23 13:28:19 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ freetype fribidi libXext libXft libXpm libXrandr libXrender xextproto libXinerama imlib2 ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace util/fluxbox-generate_menu.in \
|
|
|
|
--subst-var-by PREFIX "$out"
|
|
|
|
'';
|
|
|
|
|
2015-02-25 04:53:38 +01:00
|
|
|
meta = {
|
2014-08-19 15:40:17 +02:00
|
|
|
description = "Full-featured, light-resource X window manager";
|
2014-08-18 15:08:18 +02:00
|
|
|
longDescription = ''
|
2014-09-10 20:59:54 +02:00
|
|
|
Fluxbox is a X window manager based on Blackbox 0.61.1 window
|
|
|
|
manager sources. It is very light on resources and easy to
|
|
|
|
handle but yet full of features to make an easy, and extremely
|
|
|
|
fast, desktop experience. It is written in C++ and licensed
|
|
|
|
under MIT license.
|
2014-08-18 15:08:18 +02:00
|
|
|
'';
|
|
|
|
homepage = http://fluxbox.org/;
|
2014-09-10 20:59:54 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2014-08-18 15:08:18 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
# Many thanks Jack Ryan from Nix-dev mailing list!
|