diff --git a/pkgs/development/python-modules/busylight-for-humans/default.nix b/pkgs/development/python-modules/busylight-for-humans/default.nix index 1cbb1d14136c..86fd257dc232 100644 --- a/pkgs/development/python-modules/busylight-for-humans/default.nix +++ b/pkgs/development/python-modules/busylight-for-humans/default.nix @@ -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