diff mbox series

[bug#72474,25/30] gnu: Add erlang-esip.

Message ID b069d7a51b424303e31beb503c26f1fe5153763f.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-esip): New variable.

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

Patch

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index a515bf83c2..71e261bfc1 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -414,6 +414,33 @@  (define-public erlang-xmpp
     (home-page "https://hex.pm/packages/xmpp")
     (license license:asl2.0)))
 
+(define-public erlang-esip
+  (package
+    (name "erlang-esip")
+    (version "1.0.54")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "esip" version))
+       (sha256
+        (base32 "1vip49gbz1z6sgrab6021fdlqq7g7712d5znvanwsnbjkn0sz1w1"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-fast-tls erlang-p1-utils erlang-stun))
+    (native-inputs (list erlang-pc))
+    (arguments
+     (list
+      #:tests? #f ; no tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-environment
+            (lambda _
+              (setenv "HOME" "/tmp")
+              (setenv "CC" "gcc"))))))
+    (synopsis "SIP server component in Erlang")
+    (description "This package provides ProcessOne SIP server component in Erlang.")
+    (home-page "https://hex.pm/packages/esip")
+    (license license:asl2.0)))
+
 (define-public erlang-fast-yaml
   (package
     (name "erlang-fast-yaml")