2019-02-13 20:15:49 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, ifaddr
|
|
|
|
, bitstring
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx";
|
2021-01-22 02:54:39 +01:00
|
|
|
version = "0.6.9";
|
2019-02-13 20:15:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-22 02:54:39 +01:00
|
|
|
sha256 = "0c28e9c058ee504a07eec11cb333bc6496d233da100dcab9c33549e9eb4985c0";
|
2019-02-13 20:15:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests are not implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bitstring ifaddr ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/frawau/aiolifx";
|
2019-02-13 20:15:49 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "API for local communication with LIFX devices over a LAN with asyncio";
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
|
|
|
};
|
|
|
|
}
|