* [bug#39559] [PATCH] gnu: Add cl-function-cache.
@ 2020-02-11 7:53 Konrad Hinsen
2020-02-11 13:40 ` bug#39559: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2020-02-11 7:53 UTC (permalink / raw)
To: 39559
* gnu/packages/lisp-xyz.scm (sbcl-function-cache,
cl-function-cache, ecl-function-cache): New variables.
---
gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c75acbc9d4..eac49df0e2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10338,3 +10338,42 @@ covered by the Common Lisp standard.")
(define-public ecl-float-features
(sbcl-package->ecl-package sbcl-float-features))
+
+(define-public sbcl-function-cache
+ (package
+ (name "sbcl-function-cache")
+ (version "1.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/AccelerationNet/function-cache.git")
+ (commit "6a5ada401e57da2c8abf046f582029926e61fce8")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "000vmd3f5rx5hs9nvphfric0gkzaadns31c6mxaslpv0k7pkrmc6"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "function caching / memoization library for Common Lisp")
+ (description
+ "A common lisp library that provides extensible function result
+caching based on arguments (an expanded form of memoization).")
+ (home-page "https://github.com/AccelerationNet/function-cache")
+ (license (license:non-copyleft
+ "https://github.com/AccelerationNet/function-cache/blob/master/README.md"))
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("cl-interpol" ,sbcl-cl-interpol)
+ ("iterate" ,sbcl-iterate)
+ ("symbol-munger" ,sbcl-symbol-munger)
+ ("closer-mop" ,sbcl-closer-mop)))
+ (arguments
+ `(#:asd-system-name "function-cache"
+ #:asd-file "function-cache.asd"
+ #:tests? #f))))
+
+(define-public cl-function-cache
+ (sbcl-package->cl-source-package sbcl-function-cache))
+
+(define-public ecl-function-cache
+ (sbcl-package->ecl-package sbcl-function-cache))
--
2.25.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#39559: [PATCH] gnu: Add cl-function-cache.
2020-02-11 7:53 [bug#39559] [PATCH] gnu: Add cl-function-cache Konrad Hinsen
@ 2020-02-11 13:40 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2020-02-11 13:40 UTC (permalink / raw)
To: 39559-done; +Cc: Konrad Hinsen
Pushed as 06327c3035517d5c50b30fce411149e758de047e. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-11 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-11 7:53 [bug#39559] [PATCH] gnu: Add cl-function-cache Konrad Hinsen
2020-02-11 13:40 ` bug#39559: " Guillaume Le Vaillant
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.