Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, setuptools, click, deepmerge, pyyaml, rich, pygments, llm, llm-git, pytestCheckHook, pytest-cov-stub, pytest-asyncio, pytest-httpx, writableTmpDirAsHomeHook,}:
buildPythonPackage rec { pname = "llm-git"; version = "0.2.2"; pyproject = true;
src = fetchFromGitHub { owner = "OttoAllmendinger"; repo = "llm-git"; tag = "v${version}"; hash = "sha256-LcIsJPQgZ4gj2t7sSa0Wu35WHWYyquZZTS/UxojH+XU="; };
build-system = [ setuptools ];
dependencies = [ click deepmerge llm pyyaml rich pygments ];
nativeCheckInputs = [ pytestCheckHook pytest-cov-stub writableTmpDirAsHomeHook ];
pythonImportsCheck = [ "llm_git" ];
passthru.tests = llm.mkPluginTest llm-git;
meta = { description = "AI-powered Git commands for the LLM CLI tool"; homepage = "https://github.com/OttoAllmendinger/llm-git"; changelog = "https://github.com/OttoAllmendinger/llm-git/releases/tag/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ philiptaron ]; };}