mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.llm-echo: init at 0.2
This commit is contained in:
parent
cc134a91d3
commit
e8237dfe32
3 changed files with 48 additions and 0 deletions
45
pkgs/development/python-modules/llm-echo/default.nix
Normal file
45
pkgs/development/python-modules/llm-echo/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
llm,
|
||||
llm-echo,
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llm-echo";
|
||||
version = "0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simonw";
|
||||
repo = "llm-echo";
|
||||
tag = version;
|
||||
hash = "sha256-KtdsvXJQRJ3EEJ25i6ccbVxMsWlDsxa+HJ7bFzyYGNI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
llm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "llm_echo" ];
|
||||
|
||||
passthru.tests = llm.mkPluginTest llm-echo;
|
||||
|
||||
meta = {
|
||||
description = "Debug plugin for LLM";
|
||||
homepage = "https://github.com/simonw/llm-echo";
|
||||
changelog = "https://github.com/simonw/llm-echo/releases/tag/${version}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ philiptaron ];
|
||||
};
|
||||
}
|
|
@ -63,6 +63,7 @@ let
|
|||
llm-cmd ? false,
|
||||
llm-command-r ? false,
|
||||
llm-deepseek ? false,
|
||||
llm-echo ? false,
|
||||
llm-fragments-github ? false,
|
||||
llm-fragments-pypi ? false,
|
||||
llm-gemini ? false,
|
||||
|
|
|
@ -8302,6 +8302,8 @@ self: super: with self; {
|
|||
|
||||
llm-deepseek = callPackage ../development/python-modules/llm-deepseek { };
|
||||
|
||||
llm-echo = callPackage ../development/python-modules/llm-echo { };
|
||||
|
||||
llm-fragments-github = callPackage ../development/python-modules/llm-fragments-github { };
|
||||
|
||||
llm-fragments-pypi = callPackage ../development/python-modules/llm-fragments-pypi { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue