Files
nixpkgs/pkgs/by-name/fl/fluxbox/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

75 lines
1.6 KiB
Nix

{
lib,
stdenv,
fetchurl,
pkg-config,
freetype,
fribidi,
libXext,
libXft,
libXpm,
libXrandr,
libXrender,
xorgproto,
libXinerama,
imlib2,
}:
stdenv.mkDerivation rec {
pname = "fluxbox";
version = "1.3.7";
src = fetchurl {
url = "mirror://sourceforge/fluxbox/${pname}-${version}.tar.xz";
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
};
patches = [
# Upstream fix to build against gcc-11.
(fetchurl {
name = "gcc-11.patch";
url = "http://git.fluxbox.org/fluxbox.git/patch/?id=22866c4d30f5b289c429c5ca88d800200db4fc4f";
sha256 = "1x7126rlmzky51lk370fczssgnjs7i6wgfaikfib9pvn4vv945ai";
})
];
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 = with lib; {
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 = "https://fluxbox.org/";
license = licenses.mit;
maintainers = [ ];
platforms = platforms.linux;
};
}
# Many thanks Jack Ryan from Nix-dev mailing list!