diff --git a/pkgs/applications/search/catfish/default.nix b/pkgs/applications/search/catfish/default.nix index 795d804038d8..bad10a8607a6 100644 --- a/pkgs/applications/search/catfish/default.nix +++ b/pkgs/applications/search/catfish/default.nix @@ -3,13 +3,13 @@ pythonPackages.buildPythonApplication rec { majorver = "1.4"; - minorver = "1"; + minorver = "2"; version = "${majorver}.${minorver}"; name = "catfish-${version}"; src = fetchurl { url = "https://launchpad.net/catfish-search/${majorver}/${version}/+download/${name}.tar.bz2"; - sha256 = "0dc9xq1l1w22xk1hg63mgwr0920jqxrwfzmkhif01yms1m7vfdv8"; + sha256 = "0j3by9yfs4j9za3s5qdxrsm7idmps69pimc9d0mjyakvviy0izm3"; }; nativeBuildInputs = [ @@ -25,7 +25,7 @@ pythonPackages.buildPythonApplication rec { gnome3.dconf pythonPackages.pyxdg pythonPackages.ptyprocess - pycairo + pythonPackages.pycairo ]; propagatedBuildInputs = [ @@ -34,8 +34,9 @@ pythonPackages.buildPythonApplication rec { xdg_utils findutils ]; - + preFixup = '' + rm "$out/${pythonPackages.python.sitePackages}/catfish_lib/catfishconfig.pyc" for f in \ "$out/${pythonPackages.python.sitePackages}/catfish_lib/catfishconfig.py" \ "$out/share/applications/catfish.desktop" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 318d77c09d1b..8f6b40dc92f5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12026,7 +12026,7 @@ in carddav-util = callPackage ../tools/networking/carddav-util { }; catfish = callPackage ../applications/search/catfish { - pythonPackages = python3Packages; + pythonPackages = python2Packages; }; cava = callPackage ../applications/audio/cava { };