aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2024-10-29 09:17:31 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2024-10-29 13:40:50 +0100
commitd1aefac6f6d32243e95053e9f753e2b16bb9c628 (patch)
treef7e6cacc5700bb3c18a6a976d0d914ab5e6b7577 /gnu/packages
parent4491dec50a97dbdebd7dd6d41a5596358b155b79 (diff)
downloadguix-d1aefac6f6d32243e95053e9f753e2b16bb9c628.tar
guix-d1aefac6f6d32243e95053e9f753e2b16bb9c628.tar.gz
gnu: Add cl-cacle.
* gnu/packages/lisp-xyz.scm (sbcl-cacle, cl-cacle, ecl-cacle): New variables. Change-Id: I67e6702d132fed017d86be82665e44021c1b081f Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d93c67ca5d..09f5940848 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2686,6 +2686,39 @@ invalidate based on expressions evaluating to different values.")
(define-public ecl-cache-while
(sbcl-package->ecl-package sbcl-cache-while))
+(define-public sbcl-cacle
+ (let ((commit "4cbe8cfe227d2e097eaced14766f4f37aa05e617")
+ (revision "1"))
+ (package
+ (name "sbcl-cacle")
+ (version (git-version "1.0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jlahd/cacle")
+ (commit commit)))
+ (file-name (git-file-name "cl-cacle" version))
+ (sha256
+ (base32 "0h0dk0sfkfl8g0sbrs76ydb9l4znssqhx8nc5k1sg7zxpni5a4qy"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-bordeaux-threads))
+ (home-page "https://github.com/jlahd/cacle")
+ (synopsis "Extensible cache services for Common Lisp")
+ (description "This package provides a generic cache management facility
+with configurable and extensible cache replacement policies. The
+actual cached data can be stored anywhere, with cacle taking charge of
+keeping track of which entry is to be discarded next when more space
+is needed for a new entry.")
+ (license (list license:expat)))))
+
+(define-public cl-cacle
+ (sbcl-package->cl-source-package sbcl-cacle))
+
+(define-public ecl-cacle
+ (sbcl-package->ecl-package sbcl-cacle))
+
(define-public sbcl-calispel
(let ((commit "e9f2f9c1af97f4d7bb4c8ac25fb2a8f3e8fada7a"))
(package