aider-chat: add optional dependencies for help and browser

This commit is contained in:
Chun Yu
2025-03-26 16:45:33 +08:00
parent f7a715c19a
commit 9794620a5d
+9
View File
@@ -1,9 +1,18 @@
{
python3Packages,
withPlaywright ? false,
withBrowser ? false,
withHelp ? false,
withOptional ? false,
}:
if withPlaywright then
python3Packages.toPythonApplication python3Packages.aider-chat.passthru.withPlaywright
else if withBrowser then
python3Packages.toPythonApplication python3Packages.aider-chat.passthru.withBrowser
else if withHelp then
python3Packages.toPythonApplication python3Packages.aider-chat.passthru.withHelp
else if withOptional then
python3Packages.toPythonApplication python3Packages.aider-chat.passthru.withOptional
else
python3Packages.toPythonApplication python3Packages.aider-chat