a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
41 lines
724 B
Nix
41 lines
724 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
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|