1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aioairzone"; 12 version = "0.7.6"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.11"; 16 17 src = fetchFromGitHub { 18 owner = "Noltari"; 19 repo = "aioairzone"; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-99Km1zizAA0BF4ZlLmKOBoOQzKS/QdWpWC9dzg2s3lU="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ aiohttp ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "aioairzone" ]; 32 33 meta = with lib; { 34 description = "Module to control AirZone devices"; 35 homepage = "https://github.com/Noltari/aioairzone"; 36 changelog = "https://github.com/Noltari/aioairzone/releases/tag/${version}"; 37 license = with licenses; [ asl20 ]; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}