python3Packages.busylight-for-humans: add optional dependencies of busyserve (#433998)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
bitvector-for-humans,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fastapi,
|
||||
hidapi,
|
||||
loguru,
|
||||
poetry-core,
|
||||
@@ -11,6 +12,7 @@
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
typer,
|
||||
uvicorn,
|
||||
webcolors,
|
||||
udevCheckHook,
|
||||
}:
|
||||
@@ -40,6 +42,13 @@ buildPythonPackage rec {
|
||||
webcolors
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
webapi = [
|
||||
fastapi
|
||||
uvicorn
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
|
||||
Reference in New Issue
Block a user