nixpkgs/pkgs/by-name/fv/fvwm2/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

83 lines
1.3 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 = pname;
rev = 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"
];
postFixup = ''
wrapPythonPrograms
'';
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://fvwm.org";
description = "Multiple large virtual desktop window manager";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ edanaher ];
};
}