summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/greenwavereality/default.nix
blob: b49b9cd01a9439f5c3ceced59c3fae388a2d3e58 (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
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  requests,
  xmltodict,
  urllib3,
}:

buildPythonPackage rec {
  pname = "greenwavereality";
  version = "0.5.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-bNTO9qHoOe3A7TYiUwLBVq4eWyGoIfCoguizM1hKk/Y=";
  };

  build-system = [ setuptools ];

  dependencies = [
    requests
    xmltodict
    urllib3
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "greenwavereality" ];

  meta = {
    description = "Control of Greenwave Reality Lights";
    homepage = "https://github.com/dfiel/greenwavereality";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}