From 0b84c7a8ec04630554eba9dce148ea9a95f14af6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 Apr 2026 10:06:44 +0200 Subject: [PATCH] python3Packages.python-mystrom: 2.6.0 -> 2.7.0 Changelog: https://github.com/home-assistant-ecosystem/python-mystrom/releases/tag/2.7.0 --- .../python-modules/python-mystrom/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/python-mystrom/default.nix b/pkgs/development/python-modules/python-mystrom/default.nix index 823c9a7d6b9a..3862f79e665b 100644 --- a/pkgs/development/python-modules/python-mystrom/default.nix +++ b/pkgs/development/python-modules/python-mystrom/default.nix @@ -5,19 +5,21 @@ click, fetchFromGitHub, poetry-core, + pytest-asyncio, + pytestCheckHook, requests, }: buildPythonPackage rec { pname = "python-mystrom"; - version = "2.6.0"; + version = "2.7.0"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-ecosystem"; repo = "python-mystrom"; tag = version; - hash = "sha256-EXYBrOgpbOSGsNGqNKHBPam0/Gn050q+CjyAN7KJ7O8="; + hash = "sha256-zg/t2EQ6h8fThbV3U1h3Bs9pxOmlswicR3dREoQuuoY="; }; build-system = [ poetry-core ]; @@ -28,8 +30,10 @@ buildPythonPackage rec { requests ]; - # no tests are present - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "pymystrom.bulb"