unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74080] [PATCH] gnu: Add sbcl-cacle.
@ 2024-10-29  8:17 Roman Scherer
  2024-10-29 12:47 ` bug#74080: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Scherer @ 2024-10-29  8:17 UTC (permalink / raw)
  To: 74080
  Cc: Roman Scherer, Guillaume Le Vaillant, Katherine Cox-Buday,
	Munyoki Kilyungi, Sharlatan Hellseher, jgart

* gnu/packages/lisp-xyz.scm (sbcl-cacle): New variable.

Change-Id: I67e6702d132fed017d86be82665e44021c1b081f
---
 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d93c67ca5d..a44ec26f32 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2686,6 +2686,39 @@ (define-public cl-cache-while
 (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 name 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 implements 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

base-commit: 4491dec50a97dbdebd7dd6d41a5596358b155b79
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74080: [PATCH] gnu: Add sbcl-cacle.
  2024-10-29  8:17 [bug#74080] [PATCH] gnu: Add sbcl-cacle Roman Scherer
@ 2024-10-29 12:47 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2024-10-29 12:47 UTC (permalink / raw)
  To: Roman Scherer; +Cc: 74080-done

[-- Attachment #1: Type: text/plain, Size: 67 bytes --]

Patch applied as d1aefac6f6d32243e95053e9f753e2b16bb9c628.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-29 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-29  8:17 [bug#74080] [PATCH] gnu: Add sbcl-cacle Roman Scherer
2024-10-29 12:47 ` bug#74080: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).