From 4c4420b29b660c52bd27ff7536806a8b14a34aaa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 10 Nov 2024 04:55:24 +0100 Subject: [PATCH] python312Packages.pyswitchbot: add pytest-asyncio --- pkgs/development/python-modules/pyswitchbot/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index a5da6bc33006..e960018bd61a 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -8,6 +8,7 @@ fetchFromGitHub, pyopenssl, pythonOlder, + pytest-asyncio, pytestCheckHook, requests, setuptools, @@ -38,7 +39,10 @@ buildPythonPackage rec { requests ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "switchbot" ];