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