mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
pythonPackages.aiolifx-effects: init at 0.2.1
Aiolifx_effects package extends the pythonPackages.aiolifx package to provide the ability to program effects (strobe, fade) into lifx light fixtures (https://www.lifx.com) using python. The original need was to use it with the home-assistant package, specifically the "lifx" component. Although not strictly required to control the lights, the lifx compopent imports this package and will fail if it's not present.
This commit is contained in:
parent
22069991d0
commit
9b02f5ec4e
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 ];
|
||||
};
|
||||
}
|
@ -170,6 +170,8 @@ in {
|
||||
|
||||
aiolifx = callPackage ../development/python-modules/aiolifx { };
|
||||
|
||||
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
|
||||
|
||||
aioamqp = callPackage ../development/python-modules/aioamqp { };
|
||||
|
||||
ansicolor = callPackage ../development/python-modules/ansicolor { };
|
||||
|
Loading…
Reference in New Issue
Block a user