summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-09-07 12:07:59 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-09-07 12:07:59 +0200
commitc9d545ab01ea163561647417f83c73176cb50eb1 (patch)
tree2731f8b66c71bc2c5d11b39d3dd3eadcf7a7f500
parentb76b47ebe4233cd23b8627df44f5707687bf20ca (diff)
downloadguix-c9d545ab01ea163561647417f83c73176cb50eb1.tar.gz
gnu: Add r-dir-expiry.
* gnu/packages/bioconductor.scm (r-dir-expiry): New variable.
-rw-r--r--gnu/packages/bioconductor.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 7a69a5e43d..710632abcc 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -13938,6 +13938,30 @@ transparent selection of gene markers, their coexpression networks, and an
 interface to query the classifier.")
     (license license:gpl2+)))
 
+(define-public r-dir-expiry
+  (package
+    (name "r-dir-expiry")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (bioconductor-uri "dir.expiry" version))
+       (sha256
+        (base32
+         "05mk7iwzay1xrgvssbz7nyl5d1n03syalbk18lmjmbx05dy0cjik"))))
+    (properties `((upstream-name . "dir.expiry")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-filelock" ,r-filelock)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://bioconductor.org/packages/dir.expiry")
+    (synopsis "Managing expiration for cache directories")
+    (description
+     "This package implements an expiration system for access to versioned
+directories.  Directories that have not been accessed by a registered function
+within a certain time frame are deleted.  This aims to reduce disk usage by
+eliminating obsolete caches generated by old versions of packages.")
+    (license license:gpl3)))
+
 (define-public r-tximeta
   (package
     (name "r-tximeta")