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