1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 sphinx,
7}:
8
9buildPythonPackage rec {
10 pname = "sphinx-reredirects";
11 version = "0.1.6";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "sphinx_reredirects";
16 inherit version;
17 hash = "sha256-xJHLpUX2e+lpdQhyeBjYYmYmNmJFrmRFb+KfN+m76mQ=";
18 };
19
20 build-system = [
21 setuptools
22 ];
23
24 dependencies = [
25 sphinx
26 ];
27
28 pythonImportsCheck = [
29 "sphinx_reredirects"
30 ];
31
32 meta = {
33 description = "Handles redirects for moved pages in Sphinx documentation projects";
34 homepage = "https://pypi.org/project/sphinx-reredirects";
35 license = with lib.licenses; [
36 bsd3
37 mit
38 ];
39 maintainers = with lib.maintainers; [ ];
40 };
41}