diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index cf262e14980a..b6a949eb1c7f 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -15,23 +15,26 @@ pycryptodome, pycryptodomex, pyrate-limiter, + pyshark, pytest-asyncio, pytestCheckHook, + pyyaml, vacuum-map-parser-roborock, click-shell, syrupy, + writableTmpDirAsHomeHook, }: buildPythonPackage (finalAttrs: { pname = "python-roborock"; - version = "5.14.0"; + version = "5.25.0"; pyproject = true; src = fetchFromGitHub { owner = "Python-roborock"; repo = "python-roborock"; tag = "v${finalAttrs.version}"; - hash = "sha256-SqFU7hhcykP/VSSiPLQPi62iAkgcSw6vwmXq+FpIt9w="; + hash = "sha256-Uj7rr9vAdZBseeePQU1/3bILwsI0P2CDy1bGu6R90Cg="; }; pythonRelaxDeps = [ @@ -44,24 +47,31 @@ buildPythonPackage (finalAttrs: { dependencies = [ aiohttp aiomqtt - click construct paho-mqtt protobuf pycryptodome pyrate-limiter vacuum-map-parser-roborock - click-shell ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ pycryptodomex ]; + optional-dependencies.cli = [ + click + click-shell + pyyaml + pyshark + ]; + nativeCheckInputs = [ aioresponses freezegun pytest-asyncio pytestCheckHook syrupy - ]; + writableTmpDirAsHomeHook + ] + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; __darwinAllowLocalNetworking = true;