Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
891 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, setuptools, llm, llm-fragments-github,}:
buildPythonPackage rec { pname = "llm-fragments-github"; version = "0.4"; pyproject = true;
src = fetchFromGitHub { owner = "simonw"; repo = "llm-fragments-github"; tag = version; hash = "sha256-7i1WRix5AAEG5EXJqtaU+QY56aL0SePdqz84z+C+iYM="; };
build-system = [ setuptools ];
dependencies = [ llm ];
pythonImportsCheck = [ "llm_fragments_github" ];
passthru.tests = llm.mkPluginTest llm-fragments-github;
meta = { description = "Load GitHub repository contents as LLM fragments"; homepage = "https://github.com/simonw/llm-fragments-github"; changelog = "https://github.com/simonw/llm-fragments-github/releases/tag/${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ philiptaron ]; };}