guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72474] [PATCH 22/30] gnu: Add erlang-epam.


From: Igor Goryachev
Subject: [bug#72474] [PATCH 22/30] gnu: Add erlang-epam.
Date: Mon, 5 Aug 2024 13:44:55 +0300

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

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

diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 565de27608..5de258d316 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -19,6 +19,7 @@
 (define-module (gnu packages erlang-xyz)
   #:use-module (gnu packages)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages python)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages tls)
@@ -401,6 +402,33 @@ (define-public erlang-yconf
     (home-page "https://hex.pm/packages/yconf";)
     (license license:asl2.0)))
 
+(define-public erlang-epam
+  (package
+    (name "erlang-epam")
+    (version "1.0.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "epam" version))
+       (sha256
+        (base32 "12frsirp8m0ajdb19xi1g86zghhgvld5cgw459n2m9w553kljd1g"))))
+    (build-system rebar-build-system)
+    (native-inputs (list erlang-pc linux-pam))
+    (arguments
+     (list
+      #:tests? #f ; no tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'set-environment
+            (lambda _
+              (setenv "HOME" "/tmp")
+              (setenv "CC" "gcc"))))))
+    (synopsis "Helper for PAM authentication support")
+    (description "This package provides epam helper for PAM authentication
+support.")
+    (home-page "https://hex.pm/packages/epam";)
+    (license license:asl2.0)))
+
 (define-public erlang-unicode-util-compat
   (package
     (name "erlang-unicode-util-compat")
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]