14 buildPythonPackage rec {
15 pname = "python-rabbitair";
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
25 hash = "sha256-CGr7NvnGRNTiKq5BpB/zmfgyd/2ggTbO0nj+Q+MavTs=";
28 nativeBuildInputs = [ setuptools ];
30 propagatedBuildInputs = [
33 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
40 pythonImportsCheck = [ "rabbitair" ];
43 # Tests require network access
47 "test_sequential_requests"
55 description = "Module for the control of Rabbit Air air purifiers";
56 homepage = "https://github.com/rabbit-air/python-rabbitair";
57 license = with licenses; [ asl20 ];
58 maintainers = with maintainers; [ fab ];