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