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

35 lines
498 B
Nix
Raw Permalink Normal View History

2024-08-08 13:53:51 -05:00
{
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# deps
anthropic,
...
}:
buildPythonPackage rec {
2025-02-06 00:24:45 -06:00
pname = "llm-anthropic";
version = "0.12";
2024-08-08 13:53:51 -05:00
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
2025-02-06 00:24:45 -06:00
repo = "llm-anthropic";
2024-08-08 13:53:51 -05:00
rev = version;
2025-02-06 00:24:45 -06:00
hash = "sha256-7+5j5jZBFfaaqnfjvLTI+mz1PUuG8sB5nD59UCpJuR4=";
2024-08-08 13:53:51 -05:00
};
nativeBuildInputs = [
setuptools
wheel
];
dependencies = [ anthropic ];
dontCheckRuntimeDeps = true;
}