pythonPackages.aiolifx: init at 0.6.7

Aiolifx package provides ability to control lifx (https://www.lifx.com)
light fixtures using python. The original need was to use it with
the home-assistant package, specifically the "lifx" component.
This commit is contained in:
Netix (Espinet François) 2019-02-13 20:15:49 +01:00
parent 097746fec2
commit 22069991d0
No known key found for this signature in database
GPG key ID: 0176F318CB25629B
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ 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; {
homepage = http://github.com/frawau/aiolifx;
license = licenses.mit;
description = "API for local communication with LIFX devices over a LAN with asyncio";
maintainers = with maintainers; [ netixx ];
};
}

View file

@ -168,6 +168,8 @@ in {
aioimaplib = callPackage ../development/python-modules/aioimaplib { };
aiolifx = callPackage ../development/python-modules/aiolifx { };
aioamqp = callPackage ../development/python-modules/aioamqp { };
ansicolor = callPackage ../development/python-modules/ansicolor { };