2024-08-08 13:53:51 -05:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
|
|
|
# build-system
|
|
|
|
setuptools,
|
|
|
|
wheel,
|
|
|
|
|
|
|
|
# deps
|
|
|
|
anthropic,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "llm-claude-3";
|
2024-11-13 12:12:47 -06:00
|
|
|
version = "0.8";
|
2024-08-08 13:53:51 -05:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "simonw";
|
|
|
|
repo = "llm-claude-3";
|
|
|
|
rev = version;
|
2024-11-13 12:12:47 -06:00
|
|
|
hash = "sha256-XhmxUo+nM6el17AVRUq+RLT5SEl+Q0eWhouU9WDZJl0=";
|
2024-08-08 13:53:51 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [ anthropic ];
|
|
|
|
|
|
|
|
dontCheckRuntimeDeps = true;
|
|
|
|
}
|