at master 805 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 llm, 7 llm-docs, 8}: 9 10buildPythonPackage rec { 11 pname = "llm-docs"; 12 version = "0.2.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "simonw"; 17 repo = "llm-docs"; 18 tag = version; 19 hash = "sha256-+Ha6L2h8p/yA073MfO2Uvd6E4bKA2xAvaBWtvjqglOw="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ llm ]; 25 26 pythonImportsCheck = [ "llm_docs" ]; 27 28 passthru.tests = llm.mkPluginTest llm-docs; 29 30 meta = { 31 description = "Ask questions of LLM documentation using LLM"; 32 homepage = "https://github.com/simonw/llm-docs"; 33 changelog = "https://github.com/simonw/llm-docs/releases/tag/${version}/CHANGELOG.md"; 34 license = lib.licenses.asl20; 35 maintainers = with lib.maintainers; [ philiptaron ]; 36 }; 37}