summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aiolifx-effects/default.nix
blob: ad3960957ae4d6b3ecfaf347e1e62df3389c3168 (plain)
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
{
  lib,
  fetchPypi,
  buildPythonPackage,
  aiolifx,
}:

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

  src = fetchPypi {
    inherit version;
    pname = "aiolifx_effects";
    hash = "sha256-Mhxs5PNr2W9ych56WYUZTEGck4HVTQfkil3S3zHv6Qc=";
  };

  propagatedBuildInputs = [ aiolifx ];

  # tests are not implemented
  doCheck = false;

  pythonImportsCheck = [ "aiolifx_effects" ];

  meta = {
    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 = lib.licenses.mit;
    maintainers = with lib.maintainers; [ netixx ];
  };
}