diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index 3cb0deac7894..4d0c44cfec49 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -1,30 +1,31 @@ { lib, aiohttp, - bleak, bleak-retry-connector, + bleak, buildPythonPackage, cryptography, fetchFromGitHub, + poetry-core, pyopenssl, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, - setuptools, }: buildPythonPackage (finalAttrs: { pname = "pyswitchbot"; - version = "2.2.0"; + version = "2.3.0"; pyproject = true; src = fetchFromGitHub { owner = "Danielhiversen"; repo = "pySwitchbot"; tag = finalAttrs.version; - hash = "sha256-uBHDOAitnVTFGuwzz9at0X6Mr54feMeKiFG/9CqIN4g="; + hash = "sha256-sJM7keXUdDC/qaeZSP8DAVzy/15/ilz/53CZE+KgB9Y="; }; - build-system = [ setuptools ]; + build-system = [ poetry-core ]; dependencies = [ aiohttp @@ -36,6 +37,7 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];