1{ lib, buildPythonPackage, fetchPypi, isPy3k, slixmpp, async-timeout, aiohttp }:
2
3buildPythonPackage rec {
4 pname = "aioharmony";
5 version = "0.2.6";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "90f4d1220d44b48b21a57e0273aa3c4a51599d0097af88e8be26df151e599344";
10 };
11
12 disabled = !isPy3k;
13
14 #aioharmony does not seem to include tests
15 doCheck = false;
16
17 pythonImportsCheck = [ "aioharmony.harmonyapi" "aioharmony.harmonyclient" ];
18
19 propagatedBuildInputs = [ slixmpp async-timeout aiohttp ];
20
21 meta = with lib; {
22 homepage = "https://github.com/ehendrix23/aioharmony";
23 description =
24 "Asyncio Python library for connecting to and controlling the Logitech Harmony";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ oro ];
27 };
28}