diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2016-09-01 21:00:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-01 21:00:54 +0200 |
commit | f3e76de8004b27b95fa0cc46b3b309921455f452 (patch) | |
tree | 0bf997ae5c3c89113b83f867582c2e31dbe06f1f /pkgs | |
parent | 3e695874e2f6469f9882f1c8aeb62e90aa9c4fa5 (diff) | |
parent | e487772722132bf11ef3ce064c3c628aa38ba6b9 (diff) | |
download | nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar.gz nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar.bz2 nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar.lz nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar.xz nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.tar.zst nixlib-f3e76de8004b27b95fa0cc46b3b309921455f452.zip |
Merge pull request #18197 from nand0p/sphinx-1-3-6-test-fix
sphinx: sphinx-1.3.6 test fixup
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 72b915a75824..955f3fc3ede8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22882,32 +22882,36 @@ in modules // { sphinx = buildPythonPackage (rec { - name = "Sphinx-1.3.6"; - - # 1.4 is broken - # https://github.com/sphinx-doc/sphinx/issues/2394 - + name = "${pname}-${version}"; + pname = "Sphinx"; + version = "1.3.6"; src = pkgs.fetchurl { - url = "mirror://pypi/S/Sphinx/${name}.tar.gz"; + url = "mirror://pypi/S/${pname}/${name}.tar.gz"; sha256 = "12pzlfkjjlwgvsj56k0y809jpx5mgcs9548k1l4kdbr028ifjfqb"; }; - LC_ALL = "en_US.UTF-8"; - checkPhase = '' - PYTHON=${python.executable} make test - ''; - - buildInputs = with self; [ mock pkgs.glibcLocales ]; + buildInputs = with self; [ nose simplejson mock pkgs.glibcLocales ]; + patchPhase = '' sed -i '$ d' tests/test_setup_command.py ''; + checkPhase = '' PYTHON=${python.executable} make test ''; propagatedBuildInputs = with self; [ - docutils jinja2 pygments sphinx_rtd_theme - alabaster Babel snowballstemmer six nose + docutils + jinja2 + pygments + sphinx_rtd_theme + alabaster + Babel + snowballstemmer + six + sqlalchemy + whoosh + imagesize ]; - meta = { description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects"; homepage = http://sphinx.pocoo.org/; license = licenses.bsd3; - platforms = platforms.unix; + maintainers = with maintainers; [ nand0p ]; + platforms = platforms.all; }; }); |