Files
nixpkgs/pkgs/by-name/fv/fvwm2/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

90 lines
1.6 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
cairo,
fontconfig,
freetype,
fribidi,
libXcursor,
libXft,
libXinerama,
libXpm,
libXt,
libpng,
librsvg,
libstroke,
libxslt,
perl,
pkg-config,
python3Packages,
readline,
enableGestures ? false,
}:
stdenv.mkDerivation rec {
pname = "fvwm";
version = "2.7.0";
src = fetchFromGitHub {
owner = "fvwmorg";
repo = "fvwm";
tag = version;
hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
python3Packages.wrapPython
];
buildInputs = [
cairo
fontconfig
freetype
fribidi
libXcursor
libXft
libXinerama
libXpm
libXt
libpng
librsvg
libxslt
perl
python3Packages.python
readline
]
++ lib.optional enableGestures libstroke;
pythonPath = [
python3Packages.pyxdg
];
configureFlags = [
"--enable-mandoc"
"--disable-htmldoc"
];
# Fix build on GCC 14 (see https://github.com/fvwmorg/fvwm/pull/100)
# Will never be accepted as an upstream patch as FVWM2 is EOL
env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion -Wno-error=incompatible-pointer-types";
postFixup = ''
wrapPythonPrograms
'';
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://fvwm.org";
changelog = "https://github.com/fvwmorg/fvwm/releases/tag/${src.rev}";
description = "Multiple large virtual desktop window manager";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ edanaher ];
};
}