duplicity: add update script

This commit is contained in:
David McFarland 2024-03-27 16:19:13 -03:00
parent 8398980c8a
commit 74228bb627

View File

@ -13,6 +13,7 @@
, gettext
, getconf
, testers
, nix-update-script
}:
let self = python3.pkgs.buildPythonApplication rec {
@ -120,6 +121,10 @@ let self = python3.pkgs.buildPythonApplication rec {
doCheck = true;
passthru = {
updateScript = nix-update-script {
extraArgs = [ "--version-regex" "rel\.(.*)" ];
};
tests.version = testers.testVersion {
package = self;
};