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

34 lines
426 B
Nix
Raw Normal View History

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