31 lines
599 B
Nix
31 lines
599 B
Nix
{
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
sphinx-last-updated-by-git,
|
|
}:
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "sphinx-sitemap";
|
|
version = "2.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jdillard";
|
|
repo = "sphinx-sitemap";
|
|
tag = "v${version}";
|
|
hash = "sha256-TiR6F9wMWOGYexSKDzbSPPq0oiIDrZwSiO3a9DajL+0=";
|
|
};
|
|
|
|
build-system = [ python3Packages.setuptools ];
|
|
|
|
dependencies = [
|
|
python3Packages.sphinx
|
|
sphinx-last-updated-by-git
|
|
];
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
sphinx-pytest
|
|
defusedxml
|
|
];
|
|
}
|