From patchwork Wed May 29 14:07:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre Neidhardt X-Patchwork-Id: 14143 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 98DDF17065; Wed, 29 May 2019 15:08:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 2BF5E17060 for ; Wed, 29 May 2019 15:08:12 +0100 (BST) Received: from localhost ([127.0.0.1]:55131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVzFT-0003pm-4r for patchwork@mira.cbaines.net; Wed, 29 May 2019 10:08:11 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#35991] [PATCH 7/9] gnu: Add sbcl-iolib.grovel. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 14:08:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35991 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35991@debbugs.gnu.org Received: via spool by 35991-submit@debbugs.gnu.org id=B35991.155913886415099 (code B ref 35991); Wed, 29 May 2019 14:08:04 +0000 Received: (at 35991) by debbugs.gnu.org; 29 May 2019 14:07:44 +0000 Received: from localhost ([127.0.0.1]:59426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzF1-0003vA-MF for submit@debbugs.gnu.org; Wed, 29 May 2019 10:07:44 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzEz-0003uT-Jb for 35991@debbugs.gnu.org; Wed, 29 May 2019 10:07:42 -0400 X-Originating-IP: 92.169.116.19 Received: from localhost.localdomain (lfbn-1-4117-19.w92-169.abo.wanadoo.fr [92.169.116.19]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8D73660017 for <35991@debbugs.gnu.org>; Wed, 29 May 2019 14:07:39 +0000 (UTC) From: Pierre Neidhardt Date: Wed, 29 May 2019 16:07:31 +0200 Message-Id: <20190529140733.31108-7-mail@ambrevar.xyz> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190529140733.31108-1-mail@ambrevar.xyz> References: <20190529140733.31108-1-mail@ambrevar.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")))