Subject: [PATCH v4 13/15] gnu: Add elixir-erlex.

From: Pierre-Henry Fröhring <[email-masked]>
Date: Fri, 8 Dec 2023 19:35:24 +0100

From: Pierre-Henry Fröhring <[email-masked]>

* gnu/packages/elixir-xyz.scm (elixir-erlex): New variable.

Change-Id: Ia518ad5fd32d3f5942b20113e61e4ef7e7895ff3
---
 gnu/packages/elixir-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index b4e974797..4d328aa07 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -217,6 +217,26 @@ (define-public elixir-credo
     (home-page "https://hexdocs.pm/credo/")
     (license license:expat)))
 
+(define-public elixir-erlex
+  (package
+    (name "elixir-erlex")
+    (version "0.2.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri name version))
+       (sha256
+        (base32 "0x8c1j62y748ldvlh46sxzv5514rpzm809vxn594vd7y25by5lif"))))
+    (build-system mix-build-system)
+    (arguments (list #:tests? #f)) ; no tests
+    (synopsis
+     "Convert Erlang style structs and error messages to equivalent Elixir")
+    (description
+     "Converted structs and error messages are useful for pretty printing
+things like Dialyzer errors and Observer.")
+    (home-page "https://hexdocs.pm/erlex/")
+    (license license:asl2.0)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar
-- 
2.41.0