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

buildPythonPackage rec {
  pname = "aiolifx-connection";
  version = "1.0.0";
  format = "setuptools";

  src = fetchPypi {
    pname = "aiolifx_connection";
    inherit version;
    hash = "sha256:09fydp5fqqh1s0vav39mw98i1la6qcgk17gch0m5ihyl9q50ks13";
  };

  propagatedBuildInputs = [ aiolifx ];

  # tests are not implemented
  doCheck = false;

  pythonImportsCheck = [ "aiolifx_connection" ];

  meta = {
    description = "Wrapper for aiolifx to connect to a single LIFX device";
    homepage = "https://github.com/bdraco/aiolifx_connection";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ lukegb ];
  };
}