0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00
nixpkgs/pkgs/development/python-modules/llm-templates-github/default.nix
Philip Taron 42fa505cf7 python3Packages.llm-*: use llm in the dependencies
There's no circular dependency problems anymore.
2025-05-31 20:52:40 -07:00

37 lines
886 B
Nix

{
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 ];
};
}