1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7 pytest-aiohttp,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "luxor";
13 version = "0.0.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "GIwVEOKZAudTu2M3OM4LFVR8e22q52m/AN0anskdmWQ=";
21 };
22
23 propagatedBuildInputs = [ aiohttp ];
24
25 nativeCheckInputs = [
26 pytest-aiohttp
27 pytestCheckHook
28 ];
29
30 pythonImportsCheck = [ "luxor" ];
31
32 meta = with lib; {
33 description = "Python module to control FX Luminaire controllers";
34 homepage = "https://github.com/pbozeman/luxor";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ fab ];
37 };
38}