{ lib, buildPythonPackage, fetchFromGitHub, setuptools, sphinx, sphinx-pytest, defusedxml, pytestCheckHook, }: let pname = "sphinx-sitemap"; version = "2.7.2"; in buildPythonPackage rec { inherit pname version; pyproject = true; src = fetchFromGitHub { owner = "jdillard"; repo = "sphinx-sitemap"; tag = "v${version}"; hash = "sha256-b8eo77Ab9w8JR6mLqXcIWeTkuJFTHjJBk440fksBbyw="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ sphinx ]; nativeCheckInputs = [ pytestCheckHook sphinx-pytest defusedxml ]; meta = with lib; { changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/${src.tag}"; description = "Sitemap generator for Sphinx"; homepage = "https://github.com/jdillard/sphinx-sitemap"; maintainers = with maintainers; [ alejandrosame ]; license = licenses.mit; }; }