xfce.catfish: 4.16.3 -> 4.16.4 (#182252)
* xfce.catfish: reformat the nix expression * xfce.catfish: fetch from gitlab * xfce.catfish: add update script * xfce.catfish: 4.16.3 -> 4.16.4
This commit is contained in:
parent
3d91ee6922
commit
c0bdd3b9ae
@ -1,15 +1,29 @@
|
||||
{ lib, fetchurl, file, which, intltool, gobject-introspection,
|
||||
findutils, xdg-utils, dconf, gtk3, python3Packages, xfconf,
|
||||
wrapGAppsHook
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, file
|
||||
, which
|
||||
, intltool
|
||||
, gobject-introspection
|
||||
, findutils
|
||||
, xdg-utils
|
||||
, dconf
|
||||
, gtk3
|
||||
, python3Packages
|
||||
, xfconf
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "catfish";
|
||||
version = "4.16.3";
|
||||
version = "4.16.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-6amaYtEJgTkVCN1D88v6LVCmm9a30e7vfTC6TGc9z9o=";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.xfce.org";
|
||||
owner = "apps";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-hdrEFdBa/4i/PF7VyEI7ObiJXLIRW+RFSe8yGnUpqRc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -51,6 +65,11 @@ python3Packages.buildPythonApplication rec {
|
||||
# Disable check because there is no test in the source distribution
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "${pname}-";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.xfce.org/apps/catfish/start";
|
||||
description = "Handy file search tool";
|
||||
|
Loading…
Reference in New Issue
Block a user