From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1RNn-0003Us-82 for guix-patches@gnu.org; Tue, 11 Feb 2020 03:59:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1RNm-00066A-3e for guix-patches@gnu.org; Tue, 11 Feb 2020 03:59:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1RNm-00065v-0Y for guix-patches@gnu.org; Tue, 11 Feb 2020 03:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1RNl-0006D2-Vg for guix-patches@gnu.org; Tue, 11 Feb 2020 03:59:01 -0500 Subject: [bug#39559] [PATCH] gnu: Add cl-function-cache. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54500) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1RND-0003AY-PY for guix-patches@gnu.org; Tue, 11 Feb 2020 03:58:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1RNC-00058U-AG for guix-patches@gnu.org; Tue, 11 Feb 2020 03:58:27 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:42311) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1RNB-00052E-SB for guix-patches@gnu.org; Tue, 11 Feb 2020 03:58:26 -0500 From: Konrad Hinsen Date: Tue, 11 Feb 2020 08:53:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39559@debbugs.gnu.org * 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