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

40 lines
493 B
Nix
Raw Normal View History

{ version, hash }:
2025-02-06 11:52:45 -06:00
{
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# deps
prompt_toolkit,
pygments,
...
}:
buildPythonPackage {
inherit version;
2025-02-06 11:52:45 -06:00
pname = "llm-cmd";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-cmd";
rev = version;
inherit hash;
2025-02-06 11:52:45 -06:00
};
nativeBuildInputs = [
setuptools
wheel
];
dependencies = [
2025-02-07 15:47:52 -06:00
prompt_toolkit
pygments
2025-02-06 11:52:45 -06:00
];
dontCheckRuntimeDeps = true;
}