18 python3Packages.buildPythonApplication rec {
22 src = fetchFromGitLab {
23 domain = "gitlab.xfce.org";
26 rev = "${pname}-${version}";
27 sha256 = "sha256-hfbIgSFn48++eGrJXzhXRxhWkrjgTYsr7BX/n0EXhGo=";
31 python3Packages.distutils-extra
35 gobject-introspection # for setup hook populating GI_TYPELIB_PATH
43 python3Packages.ptyprocess
44 python3Packages.pycairo
47 propagatedBuildInputs = [
48 python3Packages.dbus-python
49 python3Packages.pygobject3
50 python3Packages.pexpect
56 # Explicitly set the prefix dir in "setup.py" because setuptools is
57 # not using "$out" as the prefix when installing catfish data. In
58 # particular the variable "__catfish_data_directory__" in
59 # "catfishconfig.py" is being set to a subdirectory in the python
62 sed -i "/^ if self.root/i\\ self.prefix = \"$out\"" setup.py
65 # Disable check because there is no test in the source distribution
71 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
74 passthru.updateScript = gitUpdater { rev-prefix = "${pname}-"; };
77 homepage = "https://docs.xfce.org/apps/catfish/start";
78 description = "Handy file search tool";
79 mainProgram = "catfish";
81 Catfish is a handy file searching tool. The interface is
82 intentionally lightweight and simple, using only GTK 3.
83 You can configure it to your needs by using several command line
86 license = licenses.gpl2Plus;
87 platforms = platforms.linux;
88 maintainers = with maintainers; [ ] ++ teams.xfce.members;