diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index 4d4690cf8fac..b618ab9ea3bc 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -11,6 +11,7 @@ gnupg, gpgme, merge3, + nix-update-script, openssh, paramiko, pytestCheckHook, @@ -98,6 +99,13 @@ buildPythonPackage (finalAttrs: { pythonImportsCheck = [ "dulwich" ]; + passthru.updateScript = nix-update-script { + extraArgs = [ + "--version-regex" + "^dulwich-([1-9][0-9.]+)$" + ]; + }; + meta = { description = "Implementation of the Git file formats and protocols"; longDescription = ''