···
5
+
# propagatedBuildInputs
, sphinxcontrib-applehelp
···
, sphinxcontrib-serializinghtml
, sphinxcontrib-websupport
40
-
sha256 = "19010b7b9fa0dc7756a6e105b2aacd3a80f798af3c25c273be64d7beeb482cb1";
33
+
disabled = pythonOlder "3.5";
35
+
src = fetchFromGitHub {
36
+
owner = "sphinx-doc";
38
+
rev = "v${version}";
39
+
sha256 = "1xjii3dl01rq8x2bsxc6zywiy1s7arfgxrg5l8ml54w1748shadd";
42
-
LC_ALL = "en_US.UTF-8";
44
-
checkInputs = [ pytest ];
45
-
buildInputs = [ simplejson mock glibcLocales html5lib ] ++ lib.optional (pythonOlder "3.4") enum34;
46
-
# Disable two tests that require network access.
48
-
cd tests; ${python.interpreter} run.py --ignore py35 -k 'not test_defaults and not test_anchors_ignored'
propagatedBuildInputs = [
sphinxcontrib-serializinghtml
70
-
] ++ lib.optional (pythonOlder "3.5") typing;
72
-
# Lots of tests. Needs network as well at some point.
67
+
] ++ lib.optionals (pythonOlder "3.8") [
76
-
description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects";
72
+
# requires network access
73
+
"test_anchors_ignored"
75
+
"test_defaults_json"
80
+
description = "Python documentation generator";
81
+
longDescription = ''
82
+
A tool that makes it easy to create intelligent and beautiful
83
+
documentation for Python projects
homepage = "https://www.sphinx-doc.org";
78
-
license = lib.licenses.bsd3;
79
-
maintainers = with lib.maintainers; [ nand0p ];
86
+
license = licenses.bsd3;
87
+
maintainers = with maintainers; [ nand0p ];