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