llm: add enable-llm-gemini override

This commit is contained in:
Philip Taron
2025-05-31 20:22:51 -07:00
parent b8a7b821f7
commit ab5c974d2e
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -3,6 +3,7 @@
python3Packages,
enable-llm-anthropic ? false,
enable-llm-cmd ? false,
enable-llm-gemini ? false,
}:
let
@@ -11,6 +12,7 @@ let
llm
llm-anthropic
llm-cmd
llm-gemini
;
in
@@ -19,6 +21,7 @@ toPythonApplication (
propagatedBuildInputs =
(finalAttrs.propagatedBuildInputs or [ ])
++ lib.optionals enable-llm-anthropic [ llm-anthropic ]
++ lib.optionals enable-llm-cmd [ llm-cmd ];
++ lib.optionals enable-llm-cmd [ llm-cmd ]
++ lib.optionals enable-llm-gemini [ llm-gemini ];
})
)
@@ -27,10 +27,10 @@ buildPythonPackage rec {
build-system = [
setuptools
llm
];
dependencies = [
llm
httpx
ijson
];