diff mbox series

[bug#72474,10/30] gnu: Add erlang-cache-tab.

Message ID 2fc57bb31648317c973621d51dc13248133fe050.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-cache-tab): New variable.

Change-Id: I017a01c95eba176a2d77e5f88fb2f0b0c19170f3
---
 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 de70852399..d247d990d4 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -105,6 +105,32 @@  (define-public erlang-stringprep
     (home-page "https://hex.pm/packages/stringprep")
     (license license:asl2.0)))
 
+(define-public erlang-cache-tab
+  (package
+    (name "erlang-cache-tab")
+    (version "1.0.31")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hexpm-uri "cache_tab" version))
+       (sha256
+        (base32 "0lb35g3p3ybij5f7fnilq3ni37nfgzhajnrmhvplgch9985bd0l5"))))
+    (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 "In-memory cache Erlang/Elixir library")
+    (description "This package provides in-memory cache Erlang/Elixir library.")
+    (home-page "https://hex.pm/packages/cache_tab")
+    (license license:asl2.0)))
+
 (define-public erlang-unicode-util-compat
   (package
     (name "erlang-unicode-util-compat")