git-cola: add updateScript

This commit is contained in:
Bob van der Linden 2023-11-19 20:40:47 +01:00 committed by Bjørn Forsman
parent 5e64e6319e
commit bb09d4e297

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, git, qt5 }:
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, git, qt5, gitUpdater }:
python3Packages.buildPythonApplication rec {
pname = "git-cola";
@ -27,6 +27,10 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
homepage = "https://github.com/git-cola/git-cola";
description = "A sleek and powerful Git GUI";