aider-chat: refactor aider-chat to all-packages, add variants
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
{
|
||||
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
|
||||
@@ -170,6 +170,18 @@ with pkgs;
|
||||
} ../build-support/setup-hooks/add-bin-to-path.sh
|
||||
) { };
|
||||
|
||||
aider-chat = with python3Packages; toPythonApplication aider-chat;
|
||||
|
||||
aider-chat-with-playwright = with python3Packages; toPythonApplication (aider-chat.withOptional { withPlaywright = true; });
|
||||
|
||||
aider-chat-with-browser = with python3Packages; toPythonApplication (aider-chat.withOptional { withBrowser = true; });
|
||||
|
||||
aider-chat-with-help = with python3Packages; toPythonApplication (aider-chat.withOptional { withHelp = true; });
|
||||
|
||||
aider-chat-with-bedrock = with python3Packages; toPythonApplication (aider-chat.withOptional { withBedrock = true; });
|
||||
|
||||
aider-chat-full = with python3Packages; toPythonApplication (aider-chat.withOptional { withAll = true; });
|
||||
|
||||
autoreconfHook = callPackage (
|
||||
{ makeSetupHook, autoconf, automake, gettext, libtool }:
|
||||
makeSetupHook {
|
||||
|
||||
Reference in New Issue
Block a user