diff --git a/pkgs/by-name/ma/maestral-gui/package.nix b/pkgs/by-name/ma/maestral-gui/package.nix index 0d2ecbeee604..2fbe16bae18a 100644 --- a/pkgs/by-name/ma/maestral-gui/package.nix +++ b/pkgs/by-name/ma/maestral-gui/package.nix @@ -3,6 +3,7 @@ fetchFromGitHub, python3, qt6, + gitUpdater, nixosTests, }: @@ -64,7 +65,13 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pythonImportsCheck = [ "maestral_qt" ]; - passthru.tests.maestral = nixosTests.maestral; + passthru = { + updateScript = gitUpdater { + ignoredVersions = "dev"; + rev-prefix = "v"; + }; + tests.maestral = nixosTests.maestral; + }; __structuredAttrs = true; diff --git a/pkgs/development/python-modules/maestral/default.nix b/pkgs/development/python-modules/maestral/default.nix index bb7e36e65961..027768672711 100644 --- a/pkgs/development/python-modules/maestral/default.nix +++ b/pkgs/development/python-modules/maestral/default.nix @@ -25,6 +25,7 @@ watchdog, xattr, pytestCheckHook, + gitUpdater, nixosTests, }: @@ -117,7 +118,13 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "maestral" ]; - passthru.tests.maestral = nixosTests.maestral; + passthru = { + updateScript = gitUpdater { + ignoredVersions = "dev"; + rev-prefix = "v"; + }; + tests.maestral = nixosTests.maestral; + }; meta = { description = "Open-source Dropbox client for macOS and Linux";