2022-02-21 15:10:33 +00:00
|
|
|
{ lib
|
|
|
|
, genericUpdater
|
|
|
|
, common-updater-scripts
|
|
|
|
}:
|
|
|
|
|
2022-09-27 20:49:23 +00:00
|
|
|
{ pname ? null
|
|
|
|
, version ? null
|
|
|
|
, attrPath ? null
|
2024-06-24 22:24:25 +00:00
|
|
|
, allowedVersions ? ""
|
2022-02-21 15:10:33 +00:00
|
|
|
, ignoredVersions ? ""
|
|
|
|
, rev-prefix ? ""
|
|
|
|
, odd-unstable ? false
|
|
|
|
, patchlevel-unstable ? false
|
|
|
|
, url ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
genericUpdater {
|
2024-06-24 22:24:25 +00:00
|
|
|
inherit pname version attrPath allowedVersions ignoredVersions rev-prefix odd-unstable patchlevel-unstable;
|
2022-09-30 12:59:29 +00:00
|
|
|
versionLister = "${common-updater-scripts}/bin/list-archive-two-levels-versions ${lib.optionalString (url != null) "--url=${lib.escapeShellArg url}"}";
|
2022-02-21 15:10:33 +00:00
|
|
|
}
|