1{ lib
2, fetchPypi
3, buildPythonPackage
4, isPy3k
5, ifaddr
6, bitstring
7}:
8
9buildPythonPackage rec {
10 pname = "aiolifx";
11 version = "0.6.8";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "9f9055bc2a9a72c5eab17e0ce5522edecd6de07e21cf347bf0cffabdabe5570e";
16 };
17
18 # tests are not implemented
19 doCheck = false;
20
21 disabled = !isPy3k;
22
23 propagatedBuildInputs = [ bitstring ifaddr ];
24
25 meta = with lib; {
26 homepage = "https://github.com/frawau/aiolifx";
27 license = licenses.mit;
28 description = "API for local communication with LIFX devices over a LAN with asyncio";
29 maintainers = with maintainers; [ netixx ];
30 };
31}