From 77c641e1e76cba317cfee1dc4b4c58f92cdab959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo?= Date: Sun, 7 Aug 2022 09:16:53 -0300 Subject: [PATCH] fvwm: add pyxdg dependence and enable parallel building --- pkgs/applications/window-managers/fvwm/2.6.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/fvwm/2.6.nix b/pkgs/applications/window-managers/fvwm/2.6.nix index 2cecb81ea04b..44dde60ac05d 100644 --- a/pkgs/applications/window-managers/fvwm/2.6.nix +++ b/pkgs/applications/window-managers/fvwm/2.6.nix @@ -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";