1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6 async-timeout,
7}:
8
9buildPythonPackage rec {
10 pname = "ambiclimate";
11 version = "0.2.1";
12 format = "setuptools";
13
14 src = fetchPypi {
15 pname = "Ambiclimate";
16 inherit version;
17 sha256 = "0vhmpazc2n7qyyh7wqsz635w0f8afk2i5d592ikb84bgnfn83483";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 async-timeout
23 ];
24
25 # tests are not present
26 doCheck = false;
27
28 pythonImportsCheck = [ "ambiclimate" ];
29
30 meta = with lib; {
31 description = "Python library to communicate with ambiclimate";
32 homepage = "https://github.com/Danielhiversen/pyAmbiclimate";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}