blob: c1d07f8b1c49fde54cba0a59a70b6a0e1cb4d14e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
llm,
llm-docs,
}:
buildPythonPackage rec {
pname = "llm-docs";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-docs";
tag = version;
hash = "sha256-+Ha6L2h8p/yA073MfO2Uvd6E4bKA2xAvaBWtvjqglOw=";
};
build-system = [ setuptools ];
dependencies = [ llm ];
pythonImportsCheck = [ "llm_docs" ];
passthru.tests = llm.mkPluginTest llm-docs;
meta = {
description = "Ask questions of LLM documentation using LLM";
homepage = "https://github.com/simonw/llm-docs";
changelog = "https://github.com/simonw/llm-docs/releases/tag/${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ philiptaron ];
};
}
|