Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
873 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
llm,
llm-templates-fabric,
}:
buildPythonPackage rec {
pname = "llm-templates-fabric";
version = "0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "llm-templates-fabric";
tag = version;
hash = "sha256-tfkSjeT9WstUsNCtVr3fMzqELFCtfYphqf3xFGvHaV0=";
};
build-system = [ setuptools ];
dependencies = [ llm ];
pythonImportsCheck = [ "llm_templates_fabric" ];
passthru.tests = llm.mkPluginTest llm-templates-fabric;
meta = {
description = "Load LLM templates from Fabric";
homepage = "https://github.com/simonw/llm-templates-fabric";
changelog = "https://github.com/simonw/llm-templates-fabric/releases/tag/${version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ philiptaron ];
};
}