Merge pull request #18197 from nand0p/sphinx-1-3-6-test-fix
sphinx: sphinx-1.3.6 test fixup
This commit is contained in:
commit
f3e76de800
@ -22882,32 +22882,36 @@ in modules // {
|
|||||||
|
|
||||||
|
|
||||||
sphinx = buildPythonPackage (rec {
|
sphinx = buildPythonPackage (rec {
|
||||||
name = "Sphinx-1.3.6";
|
name = "${pname}-${version}";
|
||||||
|
pname = "Sphinx";
|
||||||
# 1.4 is broken
|
version = "1.3.6";
|
||||||
# https://github.com/sphinx-doc/sphinx/issues/2394
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "mirror://pypi/S/Sphinx/${name}.tar.gz";
|
url = "mirror://pypi/S/${pname}/${name}.tar.gz";
|
||||||
sha256 = "12pzlfkjjlwgvsj56k0y809jpx5mgcs9548k1l4kdbr028ifjfqb";
|
sha256 = "12pzlfkjjlwgvsj56k0y809jpx5mgcs9548k1l4kdbr028ifjfqb";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
checkPhase = ''
|
buildInputs = with self; [ nose simplejson mock pkgs.glibcLocales ];
|
||||||
PYTHON=${python.executable} make test
|
patchPhase = '' sed -i '$ d' tests/test_setup_command.py '';
|
||||||
'';
|
checkPhase = '' PYTHON=${python.executable} make test '';
|
||||||
|
|
||||||
buildInputs = with self; [ mock pkgs.glibcLocales ];
|
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
docutils jinja2 pygments sphinx_rtd_theme
|
docutils
|
||||||
alabaster Babel snowballstemmer six nose
|
jinja2
|
||||||
|
pygments
|
||||||
|
sphinx_rtd_theme
|
||||||
|
alabaster
|
||||||
|
Babel
|
||||||
|
snowballstemmer
|
||||||
|
six
|
||||||
|
sqlalchemy
|
||||||
|
whoosh
|
||||||
|
imagesize
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects";
|
description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects";
|
||||||
homepage = http://sphinx.pocoo.org/;
|
homepage = http://sphinx.pocoo.org/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.unix;
|
maintainers = with maintainers; [ nand0p ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user