diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85e3c5f7b6a..e9fee1e8e3f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9452,7 +9452,7 @@ in pycups = pythonPackages.pycups; - pyexiv2 = callPackage ../development/python-modules/pyexiv2 { }; + pyexiv2 = pythonPackages.pyexiv2; pygame = pythonPackages.pygame; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0a2e6bc7286..ba084652063 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -149,6 +149,8 @@ in modules // { pycrypto = callPackage ../development/python-modules/pycrypto { }; + pyexiv2 = if (!isPy3k) then callPackage ../development/python-modules/pyexiv2 {} else throw "pyexiv2 not supported for interpreter ${python.executable}"; + pygame = callPackage ../development/python-modules/pygame { }; pygobject = callPackage ../development/python-modules/pygobject { };