mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 05:29:20 +03:00
llm: add enable-llm-jq override
This commit is contained in:
parent
85868f71a0
commit
cf62949f31
2 changed files with 6 additions and 4 deletions
|
@ -5,6 +5,7 @@
|
||||||
enable-llm-cmd ? false,
|
enable-llm-cmd ? false,
|
||||||
enable-llm-gemini ? false,
|
enable-llm-gemini ? false,
|
||||||
enable-llm-gguf ? false,
|
enable-llm-gguf ? false,
|
||||||
|
enable-llm-jq ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -15,6 +16,7 @@ let
|
||||||
llm-cmd
|
llm-cmd
|
||||||
llm-gemini
|
llm-gemini
|
||||||
llm-gguf
|
llm-gguf
|
||||||
|
llm-jq
|
||||||
;
|
;
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -25,6 +27,7 @@ toPythonApplication (
|
||||||
++ lib.optionals enable-llm-anthropic [ llm-anthropic ]
|
++ 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 ]
|
++ lib.optionals enable-llm-gemini [ llm-gemini ]
|
||||||
++ lib.optionals enable-llm-gguf [ llm-gguf ];
|
++ lib.optionals enable-llm-gguf [ llm-gguf ]
|
||||||
|
++ lib.optionals enable-llm-jq [ llm-jq ];
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,12 +21,11 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
llm
|
llm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
dependencies = [ ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "llm_jq" ];
|
pythonImportsCheck = [ "llm_jq" ];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue