diff mbox series

[bug#72474,23/30] gnu: Add erlang-p1-acme.

Message ID 3d0ad8f0a77be54cc2ebdfaeb9c8cac132621820.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-p1-acme): New variable.

Change-Id: I2bd58524f1a41ef18971ccf7e4fb3fb5cc7e3cdf
---
 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 5de258d316..1a9c747ee1 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -108,6 +108,33 @@  (define-public erlang-pkix
     (home-page "https://hex.pm/packages/pkix")
     (license license:asl2.0)))
 
+(define-public erlang-p1-acme
+  (package
+    (name "erlang-p1-acme")
+    (version "1.0.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "p1_acme" version))
+       (sha256
+        (base32 "0nfxs3ldgbh7a8r7wxl0gw98r1v50jaj54c0nw8fl8ixdvr9dqcc"))))
+    (build-system rebar-build-system)
+    (inputs (list erlang-base64url erlang-idna erlang-jiffy erlang-jose
+                  erlang-yconf))
+    (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"))))))
+    (synopsis "ACME client for Erlang")
+    (description "This package provides ACME client for Erlang.")
+    (home-page "https://hex.pm/packages/p1_acme")
+    (license license:asl2.0)))
+
 (define-public erlang-p1-oauth2
   (package
     (name "erlang-p1-oauth2")