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 {
pname = "sphinx";
version = "4.4.0";
disabled = pythonOlder "3.5";
version = "4.5.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sphinx-doc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Q4CqPO08AfR+CDB02al65A+FHRFUDUfFTba0u8YQx+8=";
sha256 = "sha256-Lw9yZWCQpt02SL/McWPcyFRfVhQHC0TejcYRbVw+VxY=";
extraPostFetch = ''
cd $out
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 = [
Babel
alabaster