From c3b8039a3ac4de4950d09bd3502af96abffd5823 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 30 Jun 2022 16:07:09 +0200 Subject: gnu: Add clache. * gnu/packages/lisp-xyz.scm (cl-clache, ecl-clache, sbcl-clache): New variables. --- gnu/packages/lisp-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index addada891d..edf11eb3a8 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -21675,3 +21675,50 @@ (define-public cl-screamer (define-public ecl-screamer (sbcl-package->ecl-package sbcl-screamer)) + +(define-public sbcl-clache + (let ((commit "112976729565e1035532389ca25090ae99badd07")) + (package + (name "sbcl-clache") + (version (git-version "0.2.1" "1" commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/html/clache/") + (commit commit))) + (file-name (git-file-name "cl-clache" version)) + (sha256 + (base32 "0wxg004bsay58vr6xr6mlk7wj415qmvisqxvpnjsg6glfwca86ys")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-babel + sbcl-cl-annot + sbcl-cl-fad + sbcl-cl-store + sbcl-cl-syntax + sbcl-ironclad + sbcl-trivial-garbage)) + (native-inputs + (list sbcl-prove)) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda _ + (substitute* "clache-test.asd" + (("cl-test-more") "prove")) + #t))))) + (home-page "https://github.com/html/clache/") + (synopsis "General caching facility for Common Lisp") + (description + "CLACHE provides a general caching facility for Common Lisp. The API is +similar to the standard hash-table interface.") + (license license:llgpl)))) + +(define-public cl-clache + (sbcl-package->cl-source-package sbcl-clache)) + +(define-public ecl-clache + (sbcl-package->ecl-package sbcl-clache)) -- cgit v1.2.3