diff --git a/pkgs/development/python-modules/aria2p/default.nix b/pkgs/development/python-modules/aria2p/default.nix index eae13c92e2a4..a09da7152d4b 100644 --- a/pkgs/development/python-modules/aria2p/default.nix +++ b/pkgs/development/python-modules/aria2p/default.nix @@ -19,6 +19,8 @@ pytestCheckHook, responses, uvicorn, + + withTui ? true, }: buildPythonPackage rec { @@ -43,7 +45,7 @@ buildPythonPackage rec { setuptools # for pkg_resources toml websocket-client - ]; + ] ++ lib.optionals withTui optional-dependencies.tui; optional-dependencies = { tui = [