summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/lightify/default.nix
blob: 13bd632a991efceaa17466ed5e9aa8ff72841b20 (about) (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
34
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "lightify";
  version = "1.0.7.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tfriedel";
    repo = "python-lightify";
    tag = "v${version}";
    hash = "sha256-zgDB1Tq4RYIeABZCjCcoB8NGt+ZhQFnFu655OghgpH0=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "lightify" ];

  # tests access the network
  doCheck = false;

  meta = {
    changelog = "https://github.com/tfriedel/python-lightify/releases/tag/${src.tag}";
    description = "Library to work with OSRAM Lightify";
    homepage = "https://github.com/tfriedel/python-lightify";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}