python3Packages.sphinx: fix build with Pygments>=2.10
This commit is contained in:
parent
88b309b76f
commit
d9a79f57bc
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
# propagatedBuildInputs
|
||||
, Babel
|
||||
, alabaster
|
||||
@ -39,6 +40,14 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-0QdgHFX4r40BDHjpi9R40lXqT4n5ZgrIny+w070LZPE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Fix tests with pygments 2.10
|
||||
url = "https://github.com/sphinx-doc/sphinx/commit/bde6c8d2effc56dc8b9098abee796167f972c306.patch";
|
||||
sha256 = "0d0ddhgrrh7z9ix0f3zrc2gjb4d73f6ffm98zl62fzv5l4fd00lr";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
Babel
|
||||
alabaster
|
||||
|
Loading…
Reference in New Issue
Block a user