oizys/pkgs/llm/llm-gemini/default.nix

39 lines
475 B
Nix

{ version, hash }:
{
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# deps
httpx,
ijson,
...
}:
buildPythonPackage {
inherit version;
pname = "llm-gemini";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-gemini";
rev = version;
inherit hash;
};
nativeBuildInputs = [
setuptools
wheel
];
dependencies = [
httpx
ijson
];
dontCheckRuntimeDeps = true;
}