Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aioairzone-cloud / default.nix
blobc494b81b63351f1fdd26ed6c65d8070706563b0c
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "aioairzone-cloud";
11   version = "0.3.6";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "Noltari";
18     repo = "aioairzone-cloud";
19     rev = "refs/tags/${version}";
20     hash = "sha256-K2/q4JQV6GkNXJ6pKDPfhwKvftdezMp5VdOa5iabmvk=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29   ];
31   pythonImportsCheck = [
32     "aioairzone_cloud"
33   ];
35   # Module has no tests
36   doCheck = false;
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   };