Merge pull request #60915 from aanderse/issue/60498
kupfer: fix broken build
This commit is contained in:
commit
1ef93c9c51
2 changed files with 10 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "kupfer-${version}";
|
||||
pname = "kupfer";
|
||||
version = "319";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -30,6 +30,10 @@ buildPythonApplication rec {
|
|||
buildInputs = [ hicolor-icon-theme docutils libwnck3 keybinder3 ];
|
||||
propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ];
|
||||
|
||||
# without strictDeps kupfer fails to build: Could not find the python module 'gi.repository.Gtk'
|
||||
# see https://github.com/NixOS/nixpkgs/issues/56943 for details
|
||||
strictDeps = false;
|
||||
|
||||
postInstall = let
|
||||
pythonPath = (stdenv.lib.concatMapStringsSep ":"
|
||||
(m: "${m}/lib/${python.libPrefix}/site-packages")
|
||||
|
|
|
@ -18441,7 +18441,11 @@ in
|
|||
|
||||
kubetail = callPackage ../applications/networking/cluster/kubetail { } ;
|
||||
|
||||
kupfer = callPackage ../applications/misc/kupfer { };
|
||||
kupfer = callPackage ../applications/misc/kupfer {
|
||||
# using python36 as there appears to be a waf issue with python37
|
||||
# see https://github.com/NixOS/nixpkgs/issues/60498
|
||||
python3Packages = python36Packages;
|
||||
};
|
||||
|
||||
lame = callPackage ../development/libraries/lame { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue