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:
parent
097746fec2
commit
22069991d0
2 changed files with 33 additions and 0 deletions
31
pkgs/development/python-modules/aiolifx/default.nix
Normal file
31
pkgs/development/python-modules/aiolifx/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue