diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e500ccac4ee..ea0035b4792 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11399,21 +11399,42 @@ let sphinx = buildPythonPackage (rec { - name = "Sphinx-1.2.3"; + name = "Sphinx-1.3.1"; src = pkgs.fetchurl { url = "http://pypi.python.org/packages/source/S/Sphinx/${name}.tar.gz"; - md5 = "a98c93124035b4cd7183604aec656cb3"; + md5 = "8786a194acf9673464c5455b11fd4332"; }; - propagatedBuildInputs = with self; [docutils jinja2 pygments]; + propagatedBuildInputs = with self; [ docutils jinja2 pygments sphinx_rtd_theme alabaster Babel snowballstemmer six ]; - meta = { + meta = with stdenv.lib; { description = "Sphinx is 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; + }; + }); - license = "BSD"; + + sphinx_rtd_theme = buildPythonPackage (rec { + name = "sphinx_rtd_theme-0.1.7"; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/s/sphinx_rtd_theme/${name}.tar.gz"; + md5 = "3ffe014445195705968d899c38b305fd"; + }; + + postPatch = '' + rm requirements.txt + touch requirements.txt + ''; + + meta = with stdenv.lib; { + description = "ReadTheDocs.org theme for Sphinx, 2013 version"; + homepage = https://github.com/snide/sphinx_rtd_theme/; + license = licenses.bsd3; + platforms = platforms.unix; }; });