Merge pull request #34899 from romildo/upd.catfish

catfish: 1.4.2 -> 1.4.4

authored by Samuel Leathers and committed by GitHub ac8a149e 711f799a

+22 -18
+21 -15
pkgs/applications/search/catfish/default.nix
··· 1 - { stdenv, fetchurl, file, which, intltool, findutils, xdg_utils, 2 - gnome3, pythonPackages, wrapGAppsHook }: 3 4 pythonPackages.buildPythonApplication rec { 5 majorver = "1.4"; 6 - minorver = "2"; 7 version = "${majorver}.${minorver}"; 8 - name = "catfish-${version}"; 9 10 src = fetchurl { 11 - url = "https://launchpad.net/catfish-search/${majorver}/${version}/+download/${name}.tar.bz2"; 12 - sha256 = "0j3by9yfs4j9za3s5qdxrsm7idmps69pimc9d0mjyakvviy0izm3"; 13 }; 14 15 nativeBuildInputs = [ ··· 17 file 18 which 19 intltool 20 wrapGAppsHook 21 ]; 22 ··· 26 pythonPackages.pyxdg 27 pythonPackages.ptyprocess 28 pythonPackages.pycairo 29 ]; 30 31 propagatedBuildInputs = [ ··· 35 findutils 36 ]; 37 38 - preFixup = '' 39 - rm "$out/${pythonPackages.python.sitePackages}/catfish_lib/catfishconfig.pyc" 40 - for f in \ 41 - "$out/${pythonPackages.python.sitePackages}/catfish_lib/catfishconfig.py" \ 42 - "$out/share/applications/catfish.desktop" 43 - do 44 - substituteInPlace $f --replace "${pythonPackages.python}" "$out" 45 - done 46 ''; 47 48 meta = with stdenv.lib; { 49 description = "A handy file search tool"; 50 longDescription = '' 51 Catfish is a handy file searching tool. The interface is ··· 53 You can configure it to your needs by using several command line 54 options. 55 ''; 56 - homepage = https://launchpad.net/catfish-search; 57 license = licenses.gpl2Plus; 58 platforms = platforms.unix; 59 maintainers = [ maintainers.romildo ];
··· 1 + { stdenv, fetchurl, file, which, intltool, gobjectIntrospection, 2 + findutils, xdg_utils, gnome3, pythonPackages, hicolor_icon_theme, 3 + wrapGAppsHook 4 + }: 5 6 pythonPackages.buildPythonApplication rec { 7 majorver = "1.4"; 8 + minorver = "4"; 9 version = "${majorver}.${minorver}"; 10 + pname = "catfish"; 11 12 src = fetchurl { 13 + url = "https://launchpad.net/catfish-search/${majorver}/${version}/+download/${pname}-${version}.tar.gz"; 14 + sha256 = "1mw7py6si6y88jblmzm04hf049bpww7h87k2wypq07zm1dw55m52"; 15 }; 16 17 nativeBuildInputs = [ ··· 19 file 20 which 21 intltool 22 + gobjectIntrospection 23 wrapGAppsHook 24 ]; 25 ··· 29 pythonPackages.pyxdg 30 pythonPackages.ptyprocess 31 pythonPackages.pycairo 32 + hicolor_icon_theme 33 ]; 34 35 propagatedBuildInputs = [ ··· 39 findutils 40 ]; 41 42 + # Explicitly set the prefix dir in "setup.py" because setuptools is 43 + # not using "$out" as the prefix when installing catfish data. In 44 + # particular the variable "__catfish_data_directory__" in 45 + # "catfishconfig.py" is being set to a subdirectory in the python 46 + # path in the store. 47 + postPatch = '' 48 + sed -i "/^ if self.root/i\\ self.prefix = \"$out\"" setup.py 49 ''; 50 51 + # Disable check because there is no test in the source distribution 52 + doCheck = false; 53 + 54 meta = with stdenv.lib; { 55 + homepage = https://launchpad.net/catfish-search; 56 description = "A handy file search tool"; 57 longDescription = '' 58 Catfish is a handy file searching tool. The interface is ··· 60 You can configure it to your needs by using several command line 61 options. 62 ''; 63 license = licenses.gpl2Plus; 64 platforms = platforms.unix; 65 maintainers = [ maintainers.romildo ];
+1 -3
pkgs/top-level/all-packages.nix
··· 14549 14550 carddav-util = callPackage ../tools/networking/carddav-util { }; 14551 14552 - catfish = callPackage ../applications/search/catfish { 14553 - pythonPackages = python2Packages; 14554 - }; 14555 14556 cava = callPackage ../applications/audio/cava { }; 14557
··· 14549 14550 carddav-util = callPackage ../tools/networking/carddav-util { }; 14551 14552 + catfish = callPackage ../applications/search/catfish { }; 14553 14554 cava = callPackage ../applications/audio/cava { }; 14555