11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
22 hash = "sha256-IkuAYEg5nuUT6zxmuJe6afp4MVWf0+HAnEoAdOrdTvQ=";
25 propagatedBuildInputs = [ click ];
32 pytestFlagsArray = [ "--asyncio-mode=auto" ];
35 # Tests requires network features (e. g., discovery testing)
38 "test_timeout_PilotBuilder"
39 "test_error_PilotBuilder_warm_wite"
40 "test_error_PilotBuilder_cold_white_lower"
43 pythonImportsCheck = [ "pywizlight" ];
46 description = "Python connector for WiZ light bulbs";
47 mainProgram = "wizlight";
48 homepage = "https://github.com/sbidy/pywizlight";
49 changelog = "https://github.com/sbidy/pywizlight/releases/tag/v${version}";
50 license = with licenses; [ mit ];
51 maintainers = with maintainers; [ fab ];