git-relevant-history: standardize version format; add updateScript (#444752)

This commit is contained in:
Herwig Hochleitner
2025-09-23 00:45:57 +00:00
committed by GitHub

View File

@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
unstableGitUpdater,
python3,
git,
git-filter-repo,
@@ -8,7 +9,7 @@
python3.pkgs.buildPythonApplication {
pname = "git-relevant-history";
version = "2022-09-15";
version = "1.0.0-unstable-2022-09-15";
format = "setuptools";
src = fetchFromGitHub {
owner = "rainlabs-eu";
@@ -22,6 +23,8 @@ python3.pkgs.buildPythonApplication {
python3.pkgs.docopt
];
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
meta = with lib; {
description = "Extract only relevant history from git repo";
homepage = "https://github.com/rainlabs-eu/git-relevant-history";