Subject: [PATCH 07/30] gnu: Add erlang-unicode-util-compat.

From: Igor Goryachev <[email-masked]>
Date: Mon, 5 Aug 2024 13:44:40 +0300

* gnu/packages/erlang-xyz.scm (erlang-unicode-util-compat): New variable.

Change-Id: Ie401c5c0d3d851d2fdc4ae0232f4dc67bcc5c5ef
---
 gnu/packages/erlang-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 954bd15773..6e25194acd 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -78,6 +78,23 @@ (define-public erlang-p1-utils
     (home-page "https://hex.pm/packages/p1_utils")
     (license license:asl2.0)))
 
+(define-public erlang-unicode-util-compat
+  (package
+    (name "erlang-unicode-util-compat")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "unicode_util_compat" version))
+       (sha256
+        (base32 "08952lw8cjdw8w171lv8wqbrxc4rcmb3jhkrdb7n06gngpbfdvi5"))))
+    (build-system rebar-build-system)
+    (synopsis "Compatibility library for Erlang < 20")
+    (description "This package provides @code{unicode_util} compatibility
+library for Erlang < 20.")
+    (home-page "https://hex.pm/packages/unicode_util_compat")
+    (license license:asl2.0)))
+
 (define-public erlang-base64url
   (package
     (name "erlang-base64url")
-- 
2.45.2