Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / aiosomecomfort / default.nix
blob59698d94a3149d38c4a397a125a249fd1df3e6ad
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , prettytable
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "aiosomecomfort";
12   version = "0.0.25";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mkmer";
19     repo = "AIOSomecomfort";
20     rev = "refs/tags/${version}";
21     hash = "sha256-EmglZW9gzgswxoEtDT+evjn8N+3aPooYFudwAXP8XEE=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     aiohttp
30     prettytable
31   ];
33   pythonImportsCheck = [
34     "aiosomecomfort"
35   ];
37   # Tests only run on Windows, due to WindowsSelectorEventLoopPolicy
38   doCheck = false;
40   meta = {
41     description = "AsyicIO client for US models of Honeywell Thermostats";
42     homepage = "https://github.com/mkmer/AIOSomecomfort";
43     changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}";
44     license = lib.licenses.gpl3Only;
45     maintainers = with lib.maintainers; [ dotlambda ];
46   };