mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-24 08:35:49 -06:00
39 lines
475 B
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;
|
|
}
|