From 8e63563f6399210981ddc6300c7d4afc3a0bd303 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Nov 2021 20:43:59 +0100 Subject: [PATCH] python3Packages.pywizlight: 0.4.10 -> 0.4.13 --- .../python-modules/pywizlight/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pywizlight/default.nix b/pkgs/development/python-modules/pywizlight/default.nix index 755e1555a431..9098bf80dc5e 100644 --- a/pkgs/development/python-modules/pywizlight/default.nix +++ b/pkgs/development/python-modules/pywizlight/default.nix @@ -5,16 +5,20 @@ , fetchFromGitHub , pytest-asyncio , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "pywizlight"; - version = "0.4.10"; + version = "0.4.13"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "sbidy"; repo = pname; - rev = "v${version}"; + rev = version; sha256 = "sha256-XO9KmsC3DXgVcGWr5ss3m2wB8rVboWyQUWBidynhkP8="; }; @@ -28,14 +32,16 @@ buildPythonPackage rec { pytestCheckHook ]; - # Tests requires network features (e. g., discovery testing) disabledTests = [ + # Tests requires network features (e. g., discovery testing) "test_Bulb_Discovery" "test_timeout" "test_timeout_PilotBuilder" ]; - pythonImportsCheck = [ "pywizlight" ]; + pythonImportsCheck = [ + "pywizlight" + ]; meta = with lib; { description = "Python connector for WiZ light bulbs";