blob: ccf0d937f05d2cba3e09ef655169655ab826ee20 (
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-templates-github,
}:
buildPythonPackage rec {
pname = "llm-templates-github";
version = "0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-templates-github";
tag = version;
hash = "sha256-SFXrvpKrvfIP0JmXQt6OZ52kne4AEtiggbshyac9XQc=";
};
build-system = [ setuptools ];
dependencies = [ llm ];
pythonImportsCheck = [ "llm_templates_github" ];
passthru.tests = llm.mkPluginTest llm-templates-github;
meta = {
description = "Load LLM templates from GitHub repositories";
homepage = "https://github.com/simonw/llm-templates-github";
changelog = "https://github.com/simonw/llm-templates-github/releases/tag/${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ philiptaron ];
};
}
|