mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
python3Packages.sphinx: fix build with Pygments>=2.10
This commit is contained in:
parent
658f9946d3
commit
a1f8000e3a
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
# propagatedBuildInputs
|
||||
, Babel
|
||||
, alabaster
|
||||
|
@ -38,6 +39,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 a new issue