diff options
Diffstat (limited to 'pkgs/development/python-modules/luxor/default.nix')
-rw-r--r-- | pkgs/development/python-modules/luxor/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/luxor/default.nix b/pkgs/development/python-modules/luxor/default.nix new file mode 100644 index 00000000000..ebebdd0d9bc --- /dev/null +++ b/pkgs/development/python-modules/luxor/default.nix @@ -0,0 +1,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 ]; + }; +} |