mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-24 12:35:50 -06:00
39 lines
470 B
Nix
39 lines
470 B
Nix
{
|
|
version,
|
|
hash,
|
|
}:
|
|
|
|
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
wheel,
|
|
|
|
# deps
|
|
anthropic,
|
|
...
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
inherit version;
|
|
pname = "llm-anthropic";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "simonw";
|
|
repo = "llm-anthropic";
|
|
rev = version;
|
|
inherit hash;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
dependencies = [ anthropic ];
|
|
|
|
dontCheckRuntimeDeps = true;
|
|
}
|