From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVzFP-0003nL-F6 for guix-patches@gnu.org; Wed, 29 May 2019 10:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVzFO-00006t-Dt for guix-patches@gnu.org; Wed, 29 May 2019 10:08:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVzFM-00004x-Iu for guix-patches@gnu.org; Wed, 29 May 2019 10:08:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVzFM-0003wt-BV for guix-patches@gnu.org; Wed, 29 May 2019 10:08:04 -0400 Subject: [bug#35991] [PATCH 7/9] gnu: Add sbcl-iolib.grovel. Resent-Message-ID: From: Pierre Neidhardt Date: Wed, 29 May 2019 16:07:31 +0200 Message-Id: <20190529140733.31108-7-mail@ambrevar.xyz> In-Reply-To: <20190529140733.31108-1-mail@ambrevar.xyz> References: <20190529140733.31108-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 35991@debbugs.gnu.org * gnu/packages/lisp.scm (sbcl-iolib.grovel): New variable. --- gnu/packages/lisp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index fb15edd52d..34bd0ce0cd 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -5450,3 +5450,24 @@ and @code{kqueue(2)}), a pathname library and file-system utilities.") (arguments '(#:asd-file "iolib.base.asd")) (synopsis "Base package for IOLib, a Common Lisp I/O library"))) + +(define-public sbcl-iolib.grovel + (package + (inherit sbcl-iolib.asdf) + (name "sbcl-iolib.grovel") + (inputs + `(("iolib.asdf" ,sbcl-iolib.asdf) + ("iolib.conf" ,sbcl-iolib.conf) + ("iolib.base", sbcl-iolib.base) + ("cffi", sbcl-cffi))) + (arguments + '(#:asd-file "iolib.grovel.asd" + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-header + (lambda* (#:key outputs #:allow-other-keys) + ;; This header is required by sbcl-iolib. + (install-file "src/grovel/grovel-common.h" + (string-append (assoc-ref outputs "out") + "/lib/sbcl"))))))) + (synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library"))) -- 2.21.0