1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/window-managers/fluxbox/default.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config
2014-08-18 14:08:18 +01:00
, freetype, fribidi
, libXext, libXft, libXpm, libXrandr, libXrender, xorgproto
2014-08-18 14:08:18 +01:00
, libXinerama
, imlib2 }:
2014-08-18 14:08:18 +01:00
2021-01-15 13:21:58 +00:00
with lib;
2014-08-18 14:08:18 +01:00
stdenv.mkDerivation rec {
pname = "fluxbox";
2015-02-25 03:53:38 +00:00
version = "1.3.7";
2014-08-18 14:08:18 +01:00
src = fetchurl {
url = "mirror://sourceforge/fluxbox/${pname}-${version}.tar.xz";
2015-02-25 03:53:38 +00:00
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
2014-08-18 14:08:18 +01:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype fribidi libXext libXft libXpm libXrandr libXrender xorgproto libXinerama imlib2 ];
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace util/fluxbox-generate_menu.in \
--subst-var-by PREFIX "$out"
'';
2021-01-15 13:21:58 +00:00
2015-02-25 03:53:38 +00:00
meta = {
description = "Full-featured, light-resource X window manager";
2014-08-18 14:08:18 +01:00
longDescription = ''
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 14:08:18 +01:00
'';
homepage = "http://fluxbox.org/";
license = licenses.mit;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
2014-08-18 14:08:18 +01:00
};
}
# Many thanks Jack Ryan from Nix-dev mailing list!