python3Packages.pywizlight: 0.4.10 -> 0.4.13

This commit is contained in:
Fabian Affolter 2021-11-17 20:43:59 +01:00
parent d01431f910
commit 8e63563f63

View file

@ -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";