From a6e1ae0d115048ffe9787e7dda0a595b221954a6 Mon Sep 17 00:00:00 2001 From: Alessio Aurecchia Date: Sat, 23 Nov 2024 15:01:37 +0100 Subject: [PATCH] myst-docutils: fix failure in amsmath test This brings in a patch to fix the failing amsmath test. The fix is merged upstream, but not yet in a release. --- .../development/python-modules/myst-docutils/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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 = [