2022-02-21 16:10:33 +01:00
|
|
|
{ lib
|
|
|
|
, genericUpdater
|
|
|
|
, common-updater-scripts
|
|
|
|
}:
|
|
|
|
|
2022-09-27 22:49:23 +02:00
|
|
|
{ pname ? null
|
|
|
|
, version ? null
|
|
|
|
, attrPath ? null
|
2022-02-21 16:10:33 +01:00
|
|
|
, ignoredVersions ? ""
|
|
|
|
, rev-prefix ? ""
|
|
|
|
, odd-unstable ? false
|
|
|
|
, patchlevel-unstable ? false
|
|
|
|
, url ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
genericUpdater {
|
|
|
|
inherit pname version attrPath ignoredVersions rev-prefix odd-unstable patchlevel-unstable;
|
|
|
|
versionLister = "${common-updater-scripts}/bin/list-archive-two-levels-versions ${lib.optionalString (url != null) "--url=${url}"}";
|
|
|
|
}
|