2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, aiolifx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx-effects";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "0.2.2";
|
|
|
|
disabled = !isPy3k;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiolifx_effects";
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "sha256-qkXJDYdJ+QyQWn/u7g6t4QJG1uSqle+a5RhTkPPsHKo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
propagatedBuildInputs = [ aiolifx ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# tests are not implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
pythonImportsCheck = [ "aiolifx_effects" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|