guix-commits
[Top][All Lists]
Advanced

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

08/96: gnu: Add r-cachem.


From: guix-commits
Subject: 08/96: gnu: Add r-cachem.
Date: Wed, 10 Feb 2021 19:06:23 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit bfb7791cb0a456210c0bdde42e13847a4c8bee42
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Feb 11 00:34:44 2021 +0100

    gnu: Add r-cachem.
    
    * gnu/packages/cran.scm (r-cachem): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a2ddea2..bcae733 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -126,6 +126,30 @@ functions always read and write UTF-8 (8-bit Unicode 
Transformation Format)
 files and provide more explicit control over line endings.")
     (license license:expat)))
 
+(define-public r-cachem
+  (package
+    (name "r-cachem")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "cachem" version))
+       (sha256
+        (base32
+         "0y3jb96lyn3vc3nq8gs9x669w3xp69vdg5xc69qy0l356r39gp3r"))))
+    (properties `((upstream-name . "cachem")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-fastmap" ,r-fastmap)
+       ("r-rlang" ,r-rlang)))
+    (home-page "https://cachem.r-lib.org/";)
+    (synopsis "Cache R objects with automatic pruning")
+    (description
+     "This package provides key-value stores with automatic pruning.  Caches
+can limit either their total size or the age of the oldest object (or both),
+automatically pruning objects to maintain the constraints.")
+    (license license:expat)))
+
 (define-public r-diffobj
   (package
     (name "r-diffobj")



reply via email to

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