diff mbox series

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

Message ID 5ba1d501167d74aed1f3d3873c476b34bd2f9198.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-eimp): New variable.

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

Patch

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")