Merge pull request #14001 from romildo/new.catfish

catfish: init at 1.4.1

joachifm 7e48d80b 3e1ec2b6

+69 -3
+60
pkgs/applications/search/catfish/default.nix
···
··· 1 + { stdenv, fetchurl, file, which, intltool, findutils, xdg_utils, pycairo, 2 + gnome3, pythonPackages, wrapGAppsHook }: 3 + 4 + pythonPackages.buildPythonApplication rec { 5 + majorver = "1.4"; 6 + minorver = "1"; 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 = "0dc9xq1l1w22xk1hg63mgwr0920jqxrwfzmkhif01yms1m7vfdv8"; 13 + }; 14 + 15 + nativeBuildInputs = [ 16 + pythonPackages.distutils_extra 17 + file 18 + which 19 + intltool 20 + wrapGAppsHook 21 + ]; 22 + 23 + buildInputs = [ 24 + gnome3.gtk 25 + gnome3.dconf 26 + pythonPackages.pyxdg 27 + pythonPackages.ptyprocess 28 + pycairo 29 + ]; 30 + 31 + propagatedBuildInputs = [ 32 + pythonPackages.pygobject3 33 + pythonPackages.pexpect 34 + xdg_utils 35 + findutils 36 + ]; 37 + 38 + preFixup = '' 39 + for f in \ 40 + "$out/${pythonPackages.python.sitePackages}/catfish_lib/catfishconfig.py" \ 41 + "$out/share/applications/catfish.desktop" 42 + do 43 + substituteInPlace $f --replace "${pythonPackages.python}" "$out" 44 + done 45 + ''; 46 + 47 + meta = with stdenv.lib; { 48 + description = "A handy file search tool"; 49 + longDescription = '' 50 + Catfish is a handy file searching tool. The interface is 51 + intentionally lightweight and simple, using only GTK+3. 52 + You can configure it to your needs by using several command line 53 + options. 54 + ''; 55 + homepage = https://launchpad.net/catfish-search; 56 + license = licenses.gpl2Plus; 57 + platforms = platforms.unix; 58 + maintainers = [ maintainers.romildo ]; 59 + }; 60 + }
+4
pkgs/top-level/all-packages.nix
··· 11741 11742 carddav-util = callPackage ../tools/networking/carddav-util { }; 11743 11744 cava = callPackage ../applications/audio/cava { }; 11745 11746 cb2bib = callPackage ../applications/office/cb2bib {
··· 11741 11742 carddav-util = callPackage ../tools/networking/carddav-util { }; 11743 11744 + catfish = callPackage ../applications/search/catfish { 11745 + pythonPackages = python3Packages; 11746 + }; 11747 + 11748 cava = callPackage ../applications/audio/cava { }; 11749 11750 cb2bib = callPackage ../applications/office/cb2bib {
+5 -3
pkgs/top-level/python-packages.nix
··· 7843 }); 7844 7845 distutils_extra = buildPythonPackage rec { 7846 - name = "distutils-extra-2.26"; 7847 7848 src = pkgs.fetchurl { 7849 - url = "http://launchpad.net/python-distutils-extra/trunk/2.26/+download/python-${name}.tar.gz"; 7850 - sha256 = "11a3d16efffb00c2b50f40c48531dadaf553ed7a36c5621fde437a16ca40f7ea"; 7851 }; 7852 7853 meta = { 7854 homepage = https://launchpad.net/python-distutils-extra; 7855 description = "Enhancements to Python's distutils"; 7856 }; 7857 }; 7858
··· 7843 }); 7844 7845 distutils_extra = buildPythonPackage rec { 7846 + name = "distutils-extra-${version}"; 7847 + version = "2.39"; 7848 7849 src = pkgs.fetchurl { 7850 + url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${name}.tar.gz"; 7851 + sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj"; 7852 }; 7853 7854 meta = { 7855 homepage = https://launchpad.net/python-distutils-extra; 7856 description = "Enhancements to Python's distutils"; 7857 + license = licenses.gpl2; 7858 }; 7859 }; 7860