diff --git a/pkgs/by-name/ba/barman/package.nix b/pkgs/by-name/ba/barman/package.nix index 0883a8a0b7df..b2d1aab44320 100644 --- a/pkgs/by-name/ba/barman/package.nix +++ b/pkgs/by-name/ba/barman/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, python3Packages, versionCheckHook, + nix-update-script, }: python3Packages.buildPythonApplication rec { @@ -59,6 +60,15 @@ python3Packages.buildPythonApplication rec { "test_get_file_mode" ]; + passthru = { + updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "^release/(\\d+\\.\\d+\\.\\d+)$" + ]; + }; + }; + meta = { description = "Backup and Recovery Manager for PostgreSQL"; homepage = "https://www.pgbarman.org/";