Merge pull request #55658 from netixx/hass-lifx-fix
home-assistant: add lifx component dependencies
This commit is contained in:
31
pkgs/development/python-modules/aiolifx-effects/default.nix
Normal file
31
pkgs/development/python-modules/aiolifx-effects/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, aiolifx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx-effects";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "aiolifx_effects";
|
||||
sha256 = "cb4ac52deeb220783fc6449251cf40833fcffa28648270be64b1b3e83e06b503";
|
||||
};
|
||||
|
||||
# tests are not implemented
|
||||
doCheck = false;
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ aiolifx ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/amelchio/aiolifx_effects;
|
||||
license = licenses.mit;
|
||||
description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
|
||||
maintainers = with maintainers; [ netixx ];
|
||||
};
|
||||
}
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user