python3Packages.sphinx-llms-txt: init at 0.7.1

This commit is contained in:
Nico Felbinger
2026-07-10 15:46:21 +02:00
parent bcfa15b876
commit d2260f0cd7
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
sphinx,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "sphinx-llms-txt";
version = "0.7.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "jdillard";
repo = "sphinx-llms-txt";
tag = "v${finalAttrs.version}";
hash = "sha256-9uj5UYl6/TppGd3zuGUpxiY9U6/65ffWDPKaX7ut4zg=";
};
build-system = [
setuptools
];
dependencies = [
sphinx
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sphinx_llms_txt" ];
meta = {
description = "llms.txt generator for Sphinx";
homepage = "https://github.com/jdillard/sphinx-llms-txt";
changelog = "https://github.com/jdillard/sphinx-llms-txt/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ felbinger ];
};
})
+2
View File
@@ -18769,6 +18769,8 @@ self: super: with self; {
callPackage ../development/python-modules/sphinx-last-updated-by-git
{ };
sphinx-llms-txt = callPackage ../development/python-modules/sphinx-llms-txt { };
sphinx-lv2-theme = callPackage ../development/python-modules/sphinx-lv2-theme { };
sphinx-markdown-builder = callPackage ../development/python-modules/sphinx-markdown-builder { };