From c680916d6f9efdbaccdcaf30667c8f6b8af375cc Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 9 Sep 2022 02:14:55 +0200 Subject: [PATCH] python3Packages.pyswitchbot: 0.18.14 -> 0.18.27 --- .../development/python-modules/pyswitchbot/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyswitchbot/default.nix b/pkgs/development/python-modules/pyswitchbot/default.nix index 677fb0ef3586..24f7c6bde6d9 100644 --- a/pkgs/development/python-modules/pyswitchbot/default.nix +++ b/pkgs/development/python-modules/pyswitchbot/default.nix @@ -4,11 +4,12 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, pytestCheckHook }: buildPythonPackage rec { pname = "pyswitchbot"; - version = "0.18.14"; + version = "0.18.27"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +18,7 @@ buildPythonPackage rec { owner = "Danielhiversen"; repo = "pySwitchbot"; rev = "refs/tags/${version}"; - hash = "sha256-XUdrjhV0AnKV6snb183FrlcSLAvo7U+NyvPDorykkJU="; + hash = "sha256-80GzOKZRsjWHLEGhNrYIWdUMiel5ztcobwRhrlyjzpY="; }; propagatedBuildInputs = [ @@ -25,8 +26,9 @@ buildPythonPackage rec { bleak-retry-connector ]; - # Project has no tests - doCheck = false; + checkInputs = [ + pytestCheckHook + ]; pythonImportsCheck = [ "switchbot"