Merge pull request #260274 from alejandrosame/sphinx-sitemap

python310Packages.sphinx-sitemap: init at 2.5.1
This commit is contained in:
Martin Weinelt 2023-10-18 16:28:14 +02:00 committed by GitHub
commit f29c4185d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, sphinx
}:
let
pname = "sphinx-sitemap";
version = "2.5.1";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-mEvvBou9vCbPriCai2E5LpaBq8kZG0d80w2kBuOmDuU=";
};
propagatedBuildInputs = [
sphinx
];
# Latest tests do not pass on Sphinx5, although it is supported
# Ref: https://github.com/jdillard/sphinx-sitemap/blob/ce244e9e1e05f09c566432f6a89bcd6f6ebe83bf/tox.ini#L18C25-L18C25
doCheck = false;
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;
};
}

View File

@ -13114,6 +13114,8 @@ self: super: with self; {
sphinx-prompt = callPackage ../development/python-modules/sphinx-prompt { };
sphinx-sitemap = callPackage ../development/python-modules/sphinx-sitemap { };
sphinx-thebe = callPackage ../development/python-modules/sphinx-thebe { };
sphinx-tabs = callPackage ../development/python-modules/sphinx-tabs { };