diff --git a/pkgs/development/python-modules/deebot-client/default.nix b/pkgs/development/python-modules/deebot-client/default.nix index 90dc97a34259..e683487ff1ed 100644 --- a/pkgs/development/python-modules/deebot-client/default.nix +++ b/pkgs/development/python-modules/deebot-client/default.nix @@ -20,9 +20,9 @@ xz, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "deebot-client"; - version = "17.0.1"; + version = "17.1.0"; pyproject = true; disabled = pythonOlder "3.13"; @@ -30,19 +30,15 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "DeebotUniverse"; repo = "client.py"; - tag = version; - hash = "sha256-evd0wqID9kEBzhJgRSpcd95ALp9LPSb5RM3wEIKuY0Y="; + tag = finalAttrs.version; + hash = "sha256-0gKjps5KqbicYYyN3VTO9diF11zR1UYsTyIwZG34doI="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; - hash = "sha256-cLNFUDT74NrBgUL6vGC6lbFy2A2W1jYF7A8H3BQ/s8A="; + inherit (finalAttrs) pname version src; + hash = "sha256-h1iSXoVv9J6u30VCudIhGBuJsWCKUJyXhVaM/5f5NqI="; }; - pythonRelaxDeps = [ - "aiohttp" - ]; - nativeBuildInputs = [ pkg-config rustPlatform.cargoSetupHook @@ -93,8 +89,8 @@ buildPythonPackage rec { meta = { description = "Deebot client library"; homepage = "https://github.com/DeebotUniverse/client.py"; - changelog = "https://github.com/DeebotUniverse/client.py/releases/tag/${version}"; + changelog = "https://github.com/DeebotUniverse/client.py/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ fab ]; }; -} +})