depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx-effects/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
836 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
aiolifx,
}:
buildPythonPackage rec {
pname = "aiolifx-effects";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "aiolifx_effects";
hash = "sha256-Mhxs5PNr2W9ych56WYUZTEGck4HVTQfkil3S3zHv6Qc=";
};
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 ];
};
}