nixpkgs/pkgs/development/python-modules/luxor/default.nix
2021-12-03 22:05:11 +01:00

42 lines
718 B
Nix

{ 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 ];
};
}