13 buildPythonPackage rec {
14 pname = "python-rabbitair";
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
24 hash = "sha256-CGr7NvnGRNTiKq5BpB/zmfgyd/2ggTbO0nj+Q+MavTs=";
31 propagatedBuildInputs = [
34 ] ++ lib.optionals (pythonOlder "3.8") [
43 pythonImportsCheck = [
48 # Tests require network access
52 "test_sequential_requests"
60 description = "Module for the control of Rabbit Air air purifiers";
61 homepage = "https://github.com/rabbit-air/python-rabbitair";
62 license = with licenses; [ asl20 ];
63 maintainers = with maintainers; [ fab ];