about summary refs log tree commit diff
path: root/pkgs/development/python-modules/luxor/default.nix
blob: ebebdd0d9bc97815f9165274a84d1aa3fa88296a (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
33
34
35
36
37
38
39
40
41
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest-aiohttp
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "luxor";
  version = "0.0.1";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "GIwVEOKZAudTu2M3OM4LFVR8e22q52m/AN0anskdmWQ=";
  };

  propagatedBuildInputs = [
    aiohttp
  ];

  checkInputs = [
    pytest-aiohttp
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "luxor"
  ];

  meta = with lib; {
    description = "Python module to control FX Luminaire controllers";
    homepage = "https://github.com/pbozeman/luxor";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}