diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-12-22 16:03:12 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-12-23 07:54:59 -0300 |
commit | 0529b27d180bc3a1666fa0e7fe236f18d2f147ba (patch) | |
tree | 26b36728d07bb32747b42aea5c518382b9c3b890 /pkgs/applications/search | |
parent | 6f4b5bf2e71edf48fe1efa7756e54f4f38bb91eb (diff) |
catfish: move to pkgs/desktops/xfce/applications
Since release 1.4.6 catfish is an Xfce Project. See https://bluesabre.org/2018/07/15/catfish-1-4-6-released-now-an-xfce-project
Makes an alias for catfish.
Diffstat (limited to 'pkgs/applications/search')
-rw-r--r-- | pkgs/applications/search/catfish/default.nix | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/pkgs/applications/search/catfish/default.nix b/pkgs/applications/search/catfish/default.nix deleted file mode 100644 index 3c0fbafc7842..000000000000 --- a/pkgs/applications/search/catfish/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ stdenv, fetchurl, file, which, intltool, gobject-introspection, - findutils, xdg_utils, dconf, gtk3, python3Packages, - wrapGAppsHook -}: - -python3Packages.buildPythonApplication rec { - pname = "catfish"; - version = "1.4.11"; - - src = fetchurl { - url = "https://archive.xfce.org/src/apps/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; - sha256 = "11fdzz3l5mydscs4a398siphxwr6xf3cfyimr0hgpkg3169syyv1"; - }; - - nativeBuildInputs = [ - python3Packages.distutils_extra - file - which - intltool - gobject-introspection # for setup hook populating GI_TYPELIB_PATH - wrapGAppsHook - ]; - - buildInputs = [ - gtk3 - dconf - python3Packages.pyxdg - python3Packages.ptyprocess - python3Packages.pycairo - gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943 - ]; - - propagatedBuildInputs = [ - python3Packages.dbus-python - python3Packages.pygobject3 - python3Packages.pexpect - xdg_utils - findutils - ]; - - # Explicitly set the prefix dir in "setup.py" because setuptools is - # not using "$out" as the prefix when installing catfish data. In - # particular the variable "__catfish_data_directory__" in - # "catfishconfig.py" is being set to a subdirectory in the python - # path in the store. - postPatch = '' - sed -i "/^ if self.root/i\\ self.prefix = \"$out\"" setup.py - ''; - - # Disable check because there is no test in the source distribution - doCheck = false; - - meta = with stdenv.lib; { - homepage = https://docs.xfce.org/apps/catfish/start; - description = "Handy file search tool"; - longDescription = '' - Catfish is a handy file searching tool. The interface is - intentionally lightweight and simple, using only GTK 3. - You can configure it to your needs by using several command line - options. - ''; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = [ maintainers.romildo ]; - }; -} |