1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aioairzone-cloud"; 12 version = "0.7.2"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.11"; 16 17 src = fetchFromGitHub { 18 owner = "Noltari"; 19 repo = "aioairzone-cloud"; 20 tag = version; 21 hash = "sha256-fWd5feCWE2o0HqvzGhGngWsIkXtS+VdZJ0d6B10Jq1E="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ aiohttp ]; 27 28 pythonImportsCheck = [ "aioairzone_cloud" ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 meta = with lib; { 34 description = "Library to control Airzone via Cloud API"; 35 homepage = "https://github.com/Noltari/aioairzone-cloud"; 36 changelog = "https://github.com/Noltari/aioairzone-cloud/releases/tag/${src.tag}"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}