diff --git a/pkgs/development/python-modules/myst-docutils/default.nix b/pkgs/development/python-modules/myst-docutils/default.nix index 6f3761d95fb0..14e1bfc51cc3 100644 --- a/pkgs/development/python-modules/myst-docutils/default.nix +++ b/pkgs/development/python-modules/myst-docutils/default.nix @@ -5,6 +5,7 @@ defusedxml, docutils, fetchFromGitHub, + fetchpatch, flit-core, jinja2, markdown-it-py, @@ -33,6 +34,14 @@ buildPythonPackage rec { hash = "sha256-QbFENC/Msc4pkEOPdDztjyl+2TXtAbMTHPJNAsUB978="; }; + patches = [ + (fetchpatch { + name = "fix-amsmath-test.patch"; + url = "https://github.com/executablebooks/MyST-Parser/commit/8ea56455aa87feb2d96bf29c335bca5dc885b77b.patch"; + hash = "sha256-anlBvZqUSYefs6Hm8MjQUutKYGM0fEVzaiGnsFHv4JQ="; + }) + ]; + build-system = [ flit-core ]; dependencies = [