mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
duplicity: add update script
This commit is contained in:
parent
8398980c8a
commit
74228bb627
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue