summary refs log tree commit diff
path: root/pkgs/development/python-modules/aiolifx-effects/default.nix
blob: 201fdb32a0bef2f852b990b5530c90e2003a49ae (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
{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, aiolifx
}:

buildPythonPackage rec {
  pname = "aiolifx-effects";
  version = "0.2.2";
  disabled = !isPy3k;

  src = fetchPypi {
    inherit version;
    pname = "aiolifx_effects";
    sha256 = "sha256-qkXJDYdJ+QyQWn/u7g6t4QJG1uSqle+a5RhTkPPsHKo=";
  };

  propagatedBuildInputs = [ aiolifx ];

  # tests are not implemented
  doCheck = false;

  pythonImportsCheck = [ "aiolifx_effects" ];

  meta = with lib; {
    homepage = "https://github.com/amelchio/aiolifx_effects";
    license = licenses.mit;
    description = "Light effects (pulse, colorloop ...) for LIFX lights running on aiolifx";
    maintainers = with maintainers; [ netixx ];
  };
}