diff --git a/pkgs/development/python-modules/mwclient/default.nix b/pkgs/development/python-modules/mwclient/default.nix index 51a51eb8a7f4..1cfdc81a741a 100644 --- a/pkgs/development/python-modules/mwclient/default.nix +++ b/pkgs/development/python-modules/mwclient/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, hatchling, mock, + nix-update-script, pytest-cov-stub, pytestCheckHook, requests, @@ -12,7 +13,7 @@ six, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { version = "0.11.0-unstable-2026-05-15"; pname = "mwclient"; pyproject = true; @@ -21,10 +22,10 @@ buildPythonPackage rec { owner = "mwclient"; repo = "mwclient"; rev = "87113730b1f41d8160057621bfd90ad88428f602"; - sha256 = "sha256-R2erz4oo6111haxlc9zhpgWhihFjMT2Mg/kdWERzcp4="; + hash = "sha256-R2erz4oo6111haxlc9zhpgWhihFjMT2Mg/kdWERzcp4="; }; - propagatedBuildInputs = [ + dependencies = [ requests requests-oauthlib six @@ -43,10 +44,14 @@ buildPythonPackage rec { pythonImportsCheck = [ "mwclient" ]; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; + meta = { description = "Python client library to the MediaWiki API"; license = lib.licenses.mit; homepage = "https://github.com/mwclient/mwclient"; maintainers = [ lib.maintainers.klea ]; }; -} +})