1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 prettytable,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "aiosomecomfort";
12 version = "0.0.34";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "mkmer";
17 repo = "AIOSomecomfort";
18 tag = version;
19 hash = "sha256-aHqroDhMYlBF20JNSMZDkfYvio15XTrG+9NANSTC1Fw=";
20 };
21
22 build-system = [
23 setuptools
24 ];
25
26 dependencies = [
27 aiohttp
28 prettytable
29 ];
30
31 pythonImportsCheck = [ "aiosomecomfort" ];
32
33 # Tests only run on Windows, due to WindowsSelectorEventLoopPolicy
34 doCheck = false;
35
36 meta = {
37 description = "AsyicIO client for US models of Honeywell Thermostats";
38 homepage = "https://github.com/mkmer/AIOSomecomfort";
39 changelog = "https://github.com/mkmer/AIOSomecomfort/releases/tag/${version}";
40 license = lib.licenses.gpl3Only;
41 maintainers = with lib.maintainers; [ dotlambda ];
42 };
43}