a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
39 lines
841 B
Nix
39 lines
841 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, aiolifx
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiolifx-effects";
|
|
version = "0.3.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "aiolifx_effects";
|
|
hash = "sha256-yh0Nv1r5a5l6unn9qnLjSqct/ZzUuPT6cNebVDMMfUw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiolifx
|
|
];
|
|
|
|
# tests are not implemented
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"aiolifx_effects"
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/amelchio/aiolifx_effects/releases/tag/v${version}";
|
|
description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
|
|
homepage = "https://github.com/amelchio/aiolifx_effects";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ netixx ];
|
|
};
|
|
}
|