1{ lib
2, fetchPypi
3, buildPythonPackage
4, isPy3k
5, ifaddr
6, bitstring
7}:
8
9buildPythonPackage rec {
10 pname = "aiolifx";
11 version = "0.6.7";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "cf53c9faea6eee25a466e73eef1753b82a75c7497648149c19c15342df2678f2";
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 = http://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}