Subject: [bug#72474] [PATCH 11/30] gnu: Add erlang-eimp.

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

* gnu/packages/erlang-xyz.scm (erlang-eimp): New variable.

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

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index d247d990d4..9ee1e903bd 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -131,6 +131,32 @@ (define-public erlang-cache-tab
     (home-page "https://hex.pm/packages/cache_tab")
     (license license:asl2.0)))
 
+(define-public erlang-eimp
+  (package
+    (name "erlang-eimp")
+    (version "1.0.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "eimp" version))
+       (sha256
+        (base32 "12k2df0mwq16rh77ziiahq9mjd9cy2jfdnsbzkj96a6b4c07hz4h"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-p1-utils))
+    (native-inputs (list erlang-pc))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-environment
+            (lambda _
+              (setenv "HOME" "/tmp")
+              (setenv "CC" "gcc"))))))
+    (synopsis "Erlang/Elixir image converter")
+    (description "This package provides Erlang/Elixir image converter.")
+    (home-page "https://hex.pm/packages/eimp")
+    (license license:asl2.0)))
+
 (define-public erlang-unicode-util-compat
   (package
     (name "erlang-unicode-util-compat")
-- 
2.45.2