Merge pull request #185544 from romildo/fix.fvwm

fvwm{,3}: add pyxdg dependence and enable parallel building
This commit is contained in:
Anderson Torres 2022-08-07 20:22:40 -03:00 committed by GitHub
commit e75c6e22da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 3 deletions

View file

@ -17,6 +17,7 @@
, libxslt
, perl
, pkg-config
, python3Packages
, readline
, enableGestures ? false
}:
@ -32,7 +33,11 @@ stdenv.mkDerivation rec {
hash = "sha256-sBVOrrl2WrZ2wWN/r1kDUtR+tPwXgDoSJDaxGeFkXJI=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [
autoreconfHook
pkg-config
python3Packages.wrapPython
];
buildInputs = [
cairo
@ -48,14 +53,25 @@ stdenv.mkDerivation rec {
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 = "A multiple large virtual desktop window manager";

View file

@ -25,7 +25,7 @@
, libxslt
, perl
, pkg-config
, python3
, python3Packages
, readline
, sharutils
}:
@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
autoreconfHook
asciidoctor
pkg-config
python3Packages.wrapPython
];
buildInputs = [
@ -69,15 +70,25 @@ stdenv.mkDerivation (finalAttrs: {
libstroke
libxslt
perl
python3
python3Packages.python
readline
sharutils
];
pythonPath = [
python3Packages.pyxdg
];
configureFlags = [
"--enable-mandoc"
];
postFixup = ''
wrapPythonPrograms
'';
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://fvwm.org";
description = "A multiple large virtual desktop window manager - Version 3";