1{
2 runCommand,
3 python,
4 yq,
5}:
6let
7 venv = python.withPackages (ps: [
8 ps.llm
9 ps.llm-gemini
10 ]);
11in
12runCommand "llm-gemini-test-llm-plugin"
13 {
14 nativeBuildInputs = [
15 venv
16 yq
17 ];
18 }
19 ''
20 llm plugins | yq --exit-status 'any(.name == "llm-gemini")'
21 touch "$out"
22 ''