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