2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, ifaddr
|
|
|
|
, bitstring
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "0.6.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "9f9055bc2a9a72c5eab17e0ce5522edecd6de07e21cf347bf0cffabdabe5570e";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests are not implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bitstring ifaddr ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/frawau/aiolifx";
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "API for local communication with LIFX devices over a LAN with asyncio";
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
|
|
|
};
|
|
|
|
}
|