python3Packages.sphinx: 4.4.0 -> 4.5.0

https://www.sphinx-doc.org/en/master/changes.html\#release-4-5-0-released-mar-28-2022
This commit is contained in:
Martin Weinelt 2022-03-31 02:04:11 +02:00
parent 32612278f0
commit 8681b42e8d

View File

@ -30,14 +30,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinx"; pname = "sphinx";
version = "4.4.0"; version = "4.5.0";
disabled = pythonOlder "3.5"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sphinx-doc"; owner = "sphinx-doc";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Q4CqPO08AfR+CDB02al65A+FHRFUDUfFTba0u8YQx+8="; sha256 = "sha256-Lw9yZWCQpt02SL/McWPcyFRfVhQHC0TejcYRbVw+VxY=";
extraPostFetch = '' extraPostFetch = ''
cd $out cd $out
mv tests/roots/test-images/testimäge.png \ mv tests/roots/test-images/testimäge.png \
@ -46,6 +48,11 @@ buildPythonPackage rec {
''; '';
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "docutils>=0.14,<0.18" "docutils>=0.14"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
Babel Babel
alabaster alabaster