python3Packages.llm-git: init at 0.2.2

Changed files
+65
pkgs
development
python-modules
llm
llm-git
top-level
+62
pkgs/development/python-modules/llm-git/default.nix
···
+
{
+
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
+
llm
+
];
+
+
dependencies = [
+
click
+
deepmerge
+
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 ];
+
};
+
}
+1
pkgs/development/python-modules/llm/default.nix
···
llm-fragments-symbex ? false,
llm-gemini ? false,
llm-gguf ? false,
+
llm-git ? false,
llm-grok ? false,
llm-groq ? false,
llm-hacker-news ? false,
+2
pkgs/top-level/python-packages.nix
···
llm-gguf = callPackage ../development/python-modules/llm-gguf { };
+
llm-git = callPackage ../development/python-modules/llm-git { };
+
llm-grok = callPackage ../development/python-modules/llm-grok { };
llm-groq = callPackage ../development/python-modules/llm-groq { };