diff mbox series

[bug#72474,08/30] gnu: Add erlang-idna.

Message ID 93175ef855a0cd4bef52b85cc127c2565aa58546.1722851684.git.igor@goryachev.org
State New
Headers show
Series Add ejabberd package. | expand

Commit Message

Igor Goryachev Aug. 5, 2024, 10:44 a.m. UTC
* gnu/packages/erlang-xyz.scm (erlang-idna): New variable.

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

Patch

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 6e25194acd..cb306d30b8 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -95,6 +95,23 @@  (define-public erlang-unicode-util-compat
     (home-page "https://hex.pm/packages/unicode_util_compat")
     (license license:asl2.0)))
 
+(define-public erlang-idna
+  (package
+    (name "erlang-idna")
+    (version "6.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "idna" version))
+       (sha256
+        (base32 "1sjcjibl34sprpf1dgdmzfww24xlyy34lpj7mhcys4j4i6vnwdwj"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-unicode-util-compat))
+    (synopsis "Pure Erlang IDNA implementation")
+    (description "This package provides a pure Erlang IDNA implementation.")
+    (home-page "https://hex.pm/packages/idna")
+    (license license:expat)))
+
 (define-public erlang-base64url
   (package
     (name "erlang-base64url")