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

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

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

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

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