1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 sphinx, 7 sphinx-pytest, 8 defusedxml, 9 pytestCheckHook, 10}: 11let 12 pname = "sphinx-sitemap"; 13 version = "2.7.2"; 14in 15buildPythonPackage rec { 16 inherit pname version; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "jdillard"; 21 repo = "sphinx-sitemap"; 22 tag = "v${version}"; 23 hash = "sha256-b8eo77Ab9w8JR6mLqXcIWeTkuJFTHjJBk440fksBbyw="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 propagatedBuildInputs = [ sphinx ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 sphinx-pytest 33 defusedxml 34 ]; 35 36 meta = with lib; { 37 changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/${src.tag}"; 38 description = "Sitemap generator for Sphinx"; 39 homepage = "https://github.com/jdillard/sphinx-sitemap"; 40 maintainers = with maintainers; [ alejandrosame ]; 41 license = licenses.mit; 42 }; 43}