2019-02-13 19:22:39 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy3k
|
|
|
|
, aiolifx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx-effects";
|
2021-07-02 07:58:05 +01:00
|
|
|
version = "0.2.2";
|
|
|
|
disabled = !isPy3k;
|
2019-02-13 19:22:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "aiolifx_effects";
|
2021-07-02 07:58:05 +01:00
|
|
|
sha256 = "sha256-qkXJDYdJ+QyQWn/u7g6t4QJG1uSqle+a5RhTkPPsHKo=";
|
2019-02-13 19:22:39 +00:00
|
|
|
};
|
|
|
|
|
2021-07-02 07:58:05 +01:00
|
|
|
propagatedBuildInputs = [ aiolifx ];
|
|
|
|
|
2019-02-13 19:22:39 +00:00
|
|
|
# tests are not implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-02 07:58:05 +01:00
|
|
|
pythonImportsCheck = [ "aiolifx_effects" ];
|
2019-02-13 19:22:39 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/amelchio/aiolifx_effects";
|
2019-02-13 19:22:39 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
|
|
|
|
maintainers = with maintainers; [ netixx ];
|
|
|
|
};
|
|
|
|
}
|