1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6}:
7
8buildPythonPackage rec {
9 pname = "konnected";
10 version = "1.2.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "b8b4e15c3228b01c9fad3651e09fea1654357ae8c333096e759a1b7d0eb4e789";
16 };
17
18 propagatedBuildInputs = [ aiohttp ];
19
20 # no tests implemented
21 doCheck = false;
22
23 pythonImportsCheck = [ "konnected" ];
24
25 meta = with lib; {
26 description = "Async Python library for interacting with Konnected home automation controllers";
27 homepage = "https://github.com/konnected-io/konnected-py";
28 license = licenses.mit;
29 maintainers = with maintainers; [ dotlambda ];
30 };
31}