about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiolifx-effects/default.nix
blob: 71df3079b797d3ffce54ef49cfded42becdcc2c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, aiolifx
}:

buildPythonPackage rec {
  pname = "aiolifx-effects";
  version = "0.3.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit version;
    pname = "aiolifx_effects";
    hash = "sha256-6mFsQMrsEMhO9drsMMRhv8QY+eDPuskpJyazx3vG7Ko=";
  };

  propagatedBuildInputs = [
    aiolifx
  ];

  # tests are not implemented
  doCheck = false;

  pythonImportsCheck = [
    "aiolifx_effects"
  ];

  meta = with lib; {
    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 ];
  };
}