From 928c120806279579100c7327e92fae21b51a94b4 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 2 Dec 2021 09:00:33 -0800
Subject: [PATCH] Allow unicode-transforms 0.4.0.

---
 pandoc.cabal | 2 +-
 stack.yaml   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index 915998c44..0e064957b 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -501,7 +501,7 @@ library
                  text-conversions      >= 0.3      && < 0.4,
                  time                  >= 1.5      && < 1.14,
                  unicode-collation     >= 0.1.1    && < 0.2,
-                 unicode-transforms    >= 0.3      && < 0.4,
+                 unicode-transforms    >= 0.3      && < 0.5,
                  xml                   >= 1.3.12   && < 1.4,
                  xml-conduit           >= 1.9.1.1  && < 1.10,
                  yaml                  >= 0.11     && < 0.12,
diff --git a/stack.yaml b/stack.yaml
index a7ab8841f..bdaa0b3d1 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -34,6 +34,8 @@ extra-deps:
 - aeson-pretty-0.8.9
 - ipynb-0.1.0.2
 - texmath-0.12.3.3
+- unicode-transforms-0.4.0
+- unicode-data-0.2.0
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-18.10