2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
sphinx,
|
|
|
|
sphinx-pytest,
|
|
|
|
pytestCheckHook,
|
2023-10-19 13:55:26 +00:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
pname = "sphinx-sitemap";
|
|
|
|
version = "2.5.1";
|
|
|
|
in
|
|
|
|
buildPythonPackage {
|
|
|
|
inherit pname version;
|
|
|
|
pyproject = true;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jdillard";
|
|
|
|
repo = "sphinx-sitemap";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-R8nAaEPd2vQs9Z0Fa5yvTP0KP3O+DnIJLPeISZ10Xtk=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ sphinx ];
|
2023-10-19 13:55:26 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
sphinx-pytest
|
|
|
|
];
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}";
|
|
|
|
description = "Sitemap generator for Sphinx";
|
|
|
|
homepage = "https://github.com/jdillard/sphinx-sitemap";
|
|
|
|
maintainers = with maintainers; [ alejandrosame ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|