2019-02-13 19:15:49 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, ifaddr
|
|
|
|
, bitstring
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx";
|
|
|
|
version = "0.6.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "cf53c9faea6eee25a466e73eef1753b82a75c7497648149c19c15342df2678f2";
|
|
|
|
};
|
|
|
|
|
|
|
|
# tests are not implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bitstring ifaddr ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-04-14 23:25:45 +00:00
|
|
|
homepage = https://github.com/frawau/aiolifx;
|
2019-02-13 19:15:49 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "API for local communication with LIFX devices over a LAN with asyncio";
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
|
|
|
};
|
|
|
|
}
|