Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
886 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ 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 ]; };}