python311Packages.myst-parser: fix build with sphinx>=7.0

This commit is contained in:
Martin Weinelt
2023-10-27 13:49:52 +02:00
parent 8e81fb5a9b
commit 2a560c2856
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, flit-core
, pythonOlder
, docutils
@@ -31,6 +32,14 @@ buildPythonPackage rec {
hash = "sha256-1BW7Z+0rs5Up+VZ3vDygnhLzE9Y2BqEMnTnflboweu0=";
};
patches = [
(fetchpatch {
name = "myst-parser-sphinx7.2-compat.patch";
url = "https://github.com/executablebooks/MyST-Parser/commit/4f670fc04c438b57a9d4014be74e9a62cc0deba4.patch";
hash = "sha256-FCvFSsD7qQwqWjSW7R4Gx+E2jaGkifSZqaRbAglt9Yw=";
})
];
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [