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