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