Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aiosomecomfort / default.nix
blobe993813081a85a43fb8b05c70f8e25e9236855cb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , aiohttp
5 , prettytable
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "aiosomecomfort";
11   version = "0.0.17";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "mkmer";
18     repo = "AIOSomecomfort";
19     rev = "refs/tags/${version}";
20     hash = "sha256-HJbLsl1NHZxfH17mIi0T6h5ZSfKaw4VYbNgN6vmN7l4=";
21   };
23   propagatedBuildInputs = [
24     aiohttp
25     prettytable
26   ];
28   pythonImportsCheck = [
29     "aiosomecomfort"
30   ];
32   doCheck = false; # tests only run on windows, due to WindowsSelectorEventLoopPolicy
34   meta = {
35     description = "AsyicIO client for US models of Honeywell Thermostats";
36     homepage = "https://github.com/mkmer/AIOSomecomfort";
37     changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}";
38     license = lib.licenses.gpl3Only;
39     maintainers = with lib.maintainers; [ dotlambda ];
40   };