mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
22069991d0
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.
32 lines
641 B
Nix
32 lines
641 B
Nix
{ 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 ];
|
|
};
|
|
}
|