mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
ba59355e81
- Add the 'gitUpdater' helper function to update git based packages, using the 'genericUpdater' function. - Rework argument passing to the `list-git-tags' and 'list-archive-two-level-versions' scripts. - Replace 'genericUpdater' plus 'list-git-tags' by 'gitUpdater'
18 lines
359 B
Nix
18 lines
359 B
Nix
{ genericUpdater
|
|
, common-updater-scripts
|
|
}:
|
|
|
|
{ pname
|
|
, version
|
|
, attrPath ? pname
|
|
, ignoredVersions ? ""
|
|
, rev-prefix ? ""
|
|
, odd-unstable ? false
|
|
, patchlevel-unstable ? false
|
|
}:
|
|
|
|
genericUpdater {
|
|
inherit pname version attrPath ignoredVersions rev-prefix odd-unstable patchlevel-unstable;
|
|
versionLister = "${common-updater-scripts}/bin/list-git-tags";
|
|
}
|