From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47166) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Zhc-0008Gb-S6 for guix-patches@gnu.org; Tue, 11 Feb 2020 12:52:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1Zha-0002SE-UC for guix-patches@gnu.org; Tue, 11 Feb 2020 12:52:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1ZhZ-0002Qc-P7 for guix-patches@gnu.org; Tue, 11 Feb 2020 12:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1ZhZ-0008Po-ON for guix-patches@gnu.org; Tue, 11 Feb 2020 12:52:01 -0500 Subject: [bug#39567] [PATCH] gnu: Add cl-constantfold. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:44585) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Zgi-0007mG-F7 for guix-patches@gnu.org; Tue, 11 Feb 2020 12:51:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1Zgh-0000E0-6r for guix-patches@gnu.org; Tue, 11 Feb 2020 12:51:08 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:58961) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1Zgg-0000C3-UQ for guix-patches@gnu.org; Tue, 11 Feb 2020 12:51:07 -0500 From: Konrad Hinsen Date: Tue, 11 Feb 2020 11:37:10 +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: 39567@debbugs.gnu.org * gnu/packages/lisp-xyz.scm (sbcl-constantfold, cl-constantfold): New variables. --- gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c22c1ed5a3..3d38cabf0c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10465,3 +10465,41 @@ code. The main target of this macro is speed.") (define-public cl-specialized-function (sbcl-package->cl-source-package sbcl-specialized-function)) + +(define-public sbcl-constantfold + (let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4") + (revision "1")) + (package + (name "sbcl-constantfold") + (version "0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/numcl/constantfold.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06")))) + (build-system asdf-build-system/sbcl) + (synopsis "Support library for numcl") + (description + "Support library for numcl. Registers a function as an +additional form that is considered as a candidate for a constant.") + (home-page "https://github.com/numcl/constantfold") + (license license:lgpl3+) + (inputs + `(("trivia" ,sbcl-trivia) + ("alexandria" ,sbcl-alexandria) + ("iterate" ,sbcl-iterate) + ("lisp-namespace" ,sbcl-lisp-namespace))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (arguments + `(#:asd-system-name "constantfold" + #:asd-file "constantfold.asd" + #:test-asd-file "constantfold.test.asd"))))) + +(define-public cl-constantfold + (sbcl-package->cl-source-package sbcl-constantfold)) -- 2.25.0