abcdw pushed a commit to branch master
in repository guix.

commit 06f2c609bdac79093a15114503db0c3f9c4f1fde
Author: Igor Goryachev via Guix-patches via <[email protected]>
AuthorDate: Mon Aug 5 13:44:43 2024 +0300

    gnu: Add erlang-cache-tab.
    
    * gnu/packages/erlang-xyz.scm (erlang-cache-tab): New variable.
    
    Change-Id: I017a01c95eba176a2d77e5f88fb2f0b0c19170f3
    Signed-off-by: Andrew Tropin <[email protected]>
---
 gnu/packages/erlang-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

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 @@ implementation.")
     (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")

Reply via email to