mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
45 lines
1.3 KiB
Nix
45 lines
1.3 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config
|
|
, freetype, fribidi
|
|
, libXext, libXft, libXpm, libXrandr, libXrender, xorgproto
|
|
, libXinerama
|
|
, imlib2 }:
|
|
|
|
with lib;
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fluxbox";
|
|
version = "1.3.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/fluxbox/${pname}-${version}.tar.xz";
|
|
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
|
|
};
|
|
|
|
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"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Full-featured, light-resource X window manager";
|
|
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.
|
|
'';
|
|
homepage = "http://fluxbox.org/";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|
|
# Many thanks Jack Ryan from Nix-dev mailing list!
|