diff --git a/pkgs/tools/backup/s3ql/default.nix b/pkgs/tools/backup/s3ql/default.nix index bc6ea1876767..1583048f961c 100644 --- a/pkgs/tools/backup/s3ql/default.nix +++ b/pkgs/tools/backup/s3ql/default.nix @@ -4,18 +4,19 @@ python3, sqlite, which, + nix-update-script, }: python3.pkgs.buildPythonApplication rec { pname = "s3ql"; - version = "5.1.3"; + version = "5.2.1"; pyproject = true; src = fetchFromGitHub { owner = "s3ql"; repo = "s3ql"; rev = "refs/tags/s3ql-${version}"; - hash = "sha256-8vGW0Kl6hDTY+9mTnm2S659PZ/9gl90d2tXxKIIFimo="; + hash = "sha256-85J0ymGe9V6f95Ycdq84dY+UiybhPdFXZzuIBb1nD5c="; }; build-system = with python3.pkgs; [ setuptools ]; @@ -52,6 +53,13 @@ python3.pkgs.buildPythonApplication rec { pytestFlagsArray = [ "tests/" ]; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "s3ql-([0-9.]+)" + ]; + }; + meta = with lib; { description = "Full-featured file system for online data storage"; homepage = "https://github.com/s3ql/s3ql/";