2023-10-19 13:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-11-16 04:20:00 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, setuptools
|
2023-10-19 13:55:26 +00:00
|
|
|
, sphinx
|
2023-11-16 04:20:00 +00:00
|
|
|
, 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
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
sphinx
|
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|