1{ lib
2, aiohttp
3, async-timeout
4, buildPythonPackage
5, fetchPypi
6, pythonOlder
7, slixmpp
8}:
9
10buildPythonPackage rec {
11 pname = "aioharmony";
12 version = "0.2.10";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-18+38QunEdEGdirQOT+528vYqiqDuUr/CWRQtXKf4rs=";
19 };
20
21 propagatedBuildInputs = [
22 aiohttp
23 async-timeout
24 slixmpp
25 ];
26
27 # aioharmony does not seem to include tests
28 doCheck = false;
29
30 pythonImportsCheck = [
31 "aioharmony.harmonyapi"
32 "aioharmony.harmonyclient"
33 ];
34
35 meta = with lib; {
36 homepage = "https://github.com/ehendrix23/aioharmony";
37 description = "Python library for interacting the Logitech Harmony devices";
38 license = licenses.asl20;
39 maintainers = with maintainers; [ oro ];
40 };
41}