blob: 344f4ad006807503117ab880ee6388a8ee5978e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
sphinx,
sphinx-last-updated-by-git,
sphinx-pytest,
defusedxml,
pytestCheckHook,
}:
let
pname = "sphinx-sitemap";
version = "2.9.0";
in
buildPythonPackage rec {
inherit pname version;
pyproject = true;
src = fetchFromGitHub {
owner = "jdillard";
repo = "sphinx-sitemap";
tag = "v${version}";
hash = "sha256-TiR6F9wMWOGYexSKDzbSPPq0oiIDrZwSiO3a9DajL+0=";
};
build-system = [ setuptools ];
dependencies = [
sphinx
sphinx-last-updated-by-git
];
nativeCheckInputs = [
pytestCheckHook
sphinx-pytest
defusedxml
];
meta = {
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 lib.maintainers; [ alejandrosame ];
license = lib.licenses.mit;
};
}
|