nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 aiolifx,
6}:
7
8buildPythonPackage rec {
9 pname = "aiolifx-effects";
10 version = "0.3.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit version;
15 pname = "aiolifx_effects";
16 hash = "sha256-Mhxs5PNr2W9ych56WYUZTEGck4HVTQfkil3S3zHv6Qc=";
17 };
18
19 propagatedBuildInputs = [ aiolifx ];
20
21 # tests are not implemented
22 doCheck = false;
23
24 pythonImportsCheck = [ "aiolifx_effects" ];
25
26 meta = {
27 changelog = "https://github.com/amelchio/aiolifx_effects/releases/tag/v${version}";
28 description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
29 homepage = "https://github.com/amelchio/aiolifx_effects";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ netixx ];
32 };
33}