Subject: [PATCH] gnu: Add erlang-jsx.
From: jgart <[email-masked]>
To: [email-masked]
Cc: jgart <[email-masked]>
Date: Tue, 11 Oct 2022 17:19:21 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/erlang.scm (erlang-jsx): New variable.
---
 gnu/packages/erlang.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm
index ede46f3a1c..0e9d79f2ee 100644
--- a/gnu/packages/erlang.scm
+++ b/gnu/packages/erlang.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2020-2022 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2021 Oskar Köök <[email-masked]>
 ;;; Copyright © 2021 Cees de Groot <[email-masked]>
+;;; Copyright © 2022 jgart <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -499,6 +500,23 @@ (define-public erlang-proper
 testing of stateful systems.")
     (license license:gpl3+)))
 
+(define-public erlang-jsx
+  (package
+    (name "erlang-jsx")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (hexpm-uri "jsx" version))
+              (sha256
+               (base32
+                "1wr7jkxm6nlgvd52xhniav64xr9rml2ngb35rwjwqlqvq7ywhp0c"))))
+    (build-system rebar-build-system)
+    (synopsis "Streaming, evented JSON parsing toolkit")
+    (description 
+"An Erlang application for consuming, producing and manipulating json.")
+    (home-page "https://hexdocs.pm/jsx/")
+    (license license:expat)))
+
 (define-public erlang-providers
   (package
     (name "erlang-providers")
-- 
2.38.0