From unknown Sat Sep 20 13:35:43 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39423] [PATCH] gnu: Add [cl|ecl|sbcl]-hdf5-cffi. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Feb 2020 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39423@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158083075410583 (code B ref -1); Tue, 04 Feb 2020 15:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2020 15:39:14 +0000 Received: from localhost ([127.0.0.1]:44594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0ID-0002kd-Uv for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:39:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:42677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0IC-0002kV-3o for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:39:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49879) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0IA-0001W8-AT for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz0I8-0005wo-AI for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:10 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz0I7-0005lQ-TS for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:08 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 4E65A617; Tue, 4 Feb 2020 10:39:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 04 Feb 2020 10:39:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=1WC8O6bBRAd1MtFmnYXJBf7182EMaPkH8Qng7zxy1b8=; b=XF3K44oT 8PfESku1GZcof6XpuXinWSEEGRHsyF+rpcISSrK9Nk17ul+U2/gI3sfop45uLK1W 0k2V56pXMDZFU36SZNxz3T3KyXg7WmGE0LsAEbl0O8/B5y7isyCVvwntKrmVhcV7 VnSsN0Y4JpNyTlyvP7LDTvejOqdPlfvpzcj24UoNghksINzY5F613PK+6Pgf6M+p 12kmimgWNwqinogccYNp53KcqZkVgxDriVbgvYRZFgQzEs97jWONyaTAmg00/uQG 6IKEtc8A6Q0Wns8HANrQbwCmUvrMbkdxQGxijliNf7s5PU8YG2bq/AGbPg42QGq/ i8mnVC+hK9Y0Pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=1WC8O6bBRAd1MtFmnYXJBf7182EMa PkH8Qng7zxy1b8=; b=Tb0T2Uac/NA65eKwHPOkOMFUBLyvNLG6KgVlK70yuRjnk FmpwQFCp1XW2P1Kv1E9acSlHU9/0hZHGE5+0lfW+Y2PAeoGw/iPgfYxVWLh6lSbn VubzFWv4TgL/vMgtdRiiWYqVUw035UW+/u81TffSn17LupGpZhRTE/VhAfATir9b xWv4pjcFYUhwhHw4xquLGU5qP6rVHNHH9ZCMRt266eH+N3teTQdNKnJ5S/l9aQ6E PC9JFroHUB1zA6NgqmNflu4CeYEfHv2mH9bb9gccPyJVH3s+zXvskY+Em0fAmitD 4cPC85Nzfr8J51UQl27xpWzT5SmiTE7iqYlF/gN+w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrgeelgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghn sehfrghsthhmrghilhdrnhgvtheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenuc fkphepkeeirddvgeejrdduieegrddvgeehnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrih hlrdhnvght X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-idf2-1-714-245.w86-247.abo.wanadoo.fr [86.247.164.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 51AFC3280062; Tue, 4 Feb 2020 10:39:04 -0500 (EST) From: Konrad Hinsen Date: Tue, 4 Feb 2020 16:36:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.20 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/lisp-xys.scm (sbcl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (ecl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (cl-hdf5-cffi): New variable. --- gnu/packages/lisp-x [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: fastmail.net] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (konrad.hinsen[at]fastmail.net) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/lisp-xys.scm (sbcl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (ecl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (cl-hdf5-cffi): New variable. --- gnu/packages/lisp-xyz.scm | 64 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 66085919b1..44c634bf69 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10163,3 +10163,67 @@ them as PNG files.") (define-public ecl-cl-qrencode (sbcl-package->ecl-package sbcl-cl-qrencode)) + +(define-public sbcl-hdf5-cffi + (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c") + (revision "1")) + (package + (name "sbcl-hdf5-cffi") + (version "1.8.18") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hdfgroup/hdf5-cffi.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf")))) + (build-system asdf-build-system/sbcl) + (synopsis "Common Lisp bindings for the HDF5 library") + (description + "hdf5-cffi is a CFFI wrapper for the HDF5 library.") + (home-page "https://github.com/hdfgroup/hdf5-cffi") + (license (license:non-copyleft + (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/" + commit + "/LICENSE"))) + (inputs + `(("cffi" ,sbcl-cffi) + ("cffi-grovel" ,sbcl-cffi-grovel) + ("hdf5" ,hdf5-1.10))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (arguments + `(#:asd-system-name "hdf5-cffi" + #:asd-file "hdf5-cffi.asd" + #:test-asd-file "hdf5-cffi.test.asd" + ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd, + ;; I don't know if there is a way to tell asdf-build-system to load + ;; an additional system first, so tests are disabled. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/library.lisp" + (("libhdf5.so") + (string-append + (assoc-ref inputs "hdf5") + "/lib/libhdf5.so"))))) + (add-after 'unpack 'fix-dependencies + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "hdf5-cffi.asd" + ((":depends-on \\(:cffi\\)") + ":depends-on (:cffi :cffi-grovel)")) + (substitute* "hdf5-cffi.test.asd" + ((":depends-on \\(:cffi :hdf5-cffi") + ":depends-on (:cffi :cffi-grovel :hdf5-cffi")))))))))) + + +(define-public cl-hdf5-cffi + (sbcl-package->cl-source-package sbcl-hdf5-cffi)) + +(define-public ecl-hdf5-cffi + (sbcl-package->ecl-package sbcl-hdf5-cffi)) -- 2.25.0 From unknown Sat Sep 20 13:35:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Konrad Hinsen Subject: bug#39423: closed (Re: [bug#39423] [PATCH] gnu: Add [cl|ecl|sbcl]-hdf5-cffi.) Message-ID: References: <87sgjpjr2h.fsf@yamatai> X-Gnu-PR-Message: they-closed 39423 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39423@debbugs.gnu.org Date: Wed, 05 Feb 2020 09:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1580896622-27793-1" This is a multi-part message in MIME format... ------------=_1580896622-27793-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39423: [PATCH] gnu: Add [cl|ecl|sbcl]-hdf5-cffi. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39423@debbugs.gnu.org. --=20 39423: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39423 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580896622-27793-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39423-done) by debbugs.gnu.org; 5 Feb 2020 09:56:18 +0000 Received: from localhost ([127.0.0.1]:45127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izHPu-0007DO-CP for submit@debbugs.gnu.org; Wed, 05 Feb 2020 04:56:18 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izHPs-0007DA-CW for 39423-done@debbugs.gnu.org; Wed, 05 Feb 2020 04:56:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BE004160061 for <39423-done@debbugs.gnu.org>; Wed, 5 Feb 2020 10:56:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1580896569; bh=isApAcShF+86KrKoHEPwtIgzCGwa2Fq8mg24RlMVJU4=; h=From:To:Cc:Subject:Date:From; b=MOsBGNXapchAlTHxn1KjZ3GDISWr3jWmytcItsD4QRJlKd9uOhPSKB1EAr4zxiZRD unqJZx4KxWk/NstSaOtwbA1EA3kRftLAtuAVfdIg0tVqSy1OSoLA6nwHTyhsBjDB53 wvcDSUxOYSR7st0QRPSu91FggsxZcTH0Gb5AbEtMdGrKZoNK9+3e49FNYA74Hevaz9 6s++tofGaWCAsOweHp8borMZhcxutKAgtr6lkdCSE6cnjSh57MXlN5AVnmwajfbzU2 ho8cwjdtYKkdfxKOLyxKkStiFIvPbREhKQcJYn59MKSuzlmYSCWPmSSVKFLYXMasRU sgUIFV4gs6K2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48CH542CwDz6tmG; Wed, 5 Feb 2020 10:56:08 +0100 (CET) References: User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: 39423-done@debbugs.gnu.org Subject: Re: [bug#39423] [PATCH] gnu: Add [cl|ecl|sbcl]-hdf5-cffi. In-reply-to: Date: Wed, 05 Feb 2020 10:56:06 +0100 Message-ID: <87sgjpjr2h.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39423-done Cc: Konrad Hinsen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Thanks. I made a few edits and pushed the patch as c6397e3e4cdedf3dbeedcb1e5de23e8e27053a5a. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXjqRNgAKCRCPP4Yfgut6 mod8AP0WgbDx7eoRmvYzIi+mppRmt9EWANj9kZJVpBYtuxuDgwEAxOQFoje1tmMK VsXDlOU3YFLhbtpmrxg+NrioPEoL/gQ= =NDUO -----END PGP SIGNATURE----- --=-=-=-- ------------=_1580896622-27793-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Feb 2020 15:39:14 +0000 Received: from localhost ([127.0.0.1]:44594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0ID-0002kd-Uv for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:39:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:42677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0IC-0002kV-3o for submit@debbugs.gnu.org; Tue, 04 Feb 2020 10:39:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49879) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0IA-0001W8-AT for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz0I8-0005wo-AI for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:10 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz0I7-0005lQ-TS for guix-patches@gnu.org; Tue, 04 Feb 2020 10:39:08 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 4E65A617; Tue, 4 Feb 2020 10:39:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 04 Feb 2020 10:39:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=1WC8O6bBRAd1MtFmnYXJBf7182EMaPkH8Qng7zxy1b8=; b=XF3K44oT 8PfESku1GZcof6XpuXinWSEEGRHsyF+rpcISSrK9Nk17ul+U2/gI3sfop45uLK1W 0k2V56pXMDZFU36SZNxz3T3KyXg7WmGE0LsAEbl0O8/B5y7isyCVvwntKrmVhcV7 VnSsN0Y4JpNyTlyvP7LDTvejOqdPlfvpzcj24UoNghksINzY5F613PK+6Pgf6M+p 12kmimgWNwqinogccYNp53KcqZkVgxDriVbgvYRZFgQzEs97jWONyaTAmg00/uQG 6IKEtc8A6Q0Wns8HANrQbwCmUvrMbkdxQGxijliNf7s5PU8YG2bq/AGbPg42QGq/ i8mnVC+hK9Y0Pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=1WC8O6bBRAd1MtFmnYXJBf7182EMa PkH8Qng7zxy1b8=; b=Tb0T2Uac/NA65eKwHPOkOMFUBLyvNLG6KgVlK70yuRjnk FmpwQFCp1XW2P1Kv1E9acSlHU9/0hZHGE5+0lfW+Y2PAeoGw/iPgfYxVWLh6lSbn VubzFWv4TgL/vMgtdRiiWYqVUw035UW+/u81TffSn17LupGpZhRTE/VhAfATir9b xWv4pjcFYUhwhHw4xquLGU5qP6rVHNHH9ZCMRt266eH+N3teTQdNKnJ5S/l9aQ6E PC9JFroHUB1zA6NgqmNflu4CeYEfHv2mH9bb9gccPyJVH3s+zXvskY+Em0fAmitD 4cPC85Nzfr8J51UQl27xpWzT5SmiTE7iqYlF/gN+w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrgeelgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghn sehfrghsthhmrghilhdrnhgvtheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenuc fkphepkeeirddvgeejrdduieegrddvgeehnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrih hlrdhnvght X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-idf2-1-714-245.w86-247.abo.wanadoo.fr [86.247.164.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 51AFC3280062; Tue, 4 Feb 2020 10:39:04 -0500 (EST) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH] gnu: Add [cl|ecl|sbcl]-hdf5-cffi. Date: Tue, 4 Feb 2020 16:36:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.20 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/lisp-xys.scm (sbcl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (ecl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (cl-hdf5-cffi): New variable. --- gnu/packages/lisp-x [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: fastmail.net] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (konrad.hinsen[at]fastmail.net) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/lisp-xys.scm (sbcl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (ecl-hdf5-cffi): New variable. * gnu/packages/lisp-xys.scm (cl-hdf5-cffi): New variable. --- gnu/packages/lisp-xyz.scm | 64 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 66085919b1..44c634bf69 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10163,3 +10163,67 @@ them as PNG files.") (define-public ecl-cl-qrencode (sbcl-package->ecl-package sbcl-cl-qrencode)) + +(define-public sbcl-hdf5-cffi + (let ((commit "5b5c88f191e470e4fe96b462334e3ce0806eed5c") + (revision "1")) + (package + (name "sbcl-hdf5-cffi") + (version "1.8.18") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hdfgroup/hdf5-cffi.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vda3075423xz83qky998lpac5b04dwfv7bwgh9jq8cs5v0zrxjf")))) + (build-system asdf-build-system/sbcl) + (synopsis "Common Lisp bindings for the HDF5 library") + (description + "hdf5-cffi is a CFFI wrapper for the HDF5 library.") + (home-page "https://github.com/hdfgroup/hdf5-cffi") + (license (license:non-copyleft + (string-append "https://github.com/HDFGroup/hdf5-cffi/raw/" + commit + "/LICENSE"))) + (inputs + `(("cffi" ,sbcl-cffi) + ("cffi-grovel" ,sbcl-cffi-grovel) + ("hdf5" ,hdf5-1.10))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (arguments + `(#:asd-system-name "hdf5-cffi" + #:asd-file "hdf5-cffi.asd" + #:test-asd-file "hdf5-cffi.test.asd" + ;; Tests depend on hdf5-cffi.examples.asd in addition to hdf5-cffi.asd, + ;; I don't know if there is a way to tell asdf-build-system to load + ;; an additional system first, so tests are disabled. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/library.lisp" + (("libhdf5.so") + (string-append + (assoc-ref inputs "hdf5") + "/lib/libhdf5.so"))))) + (add-after 'unpack 'fix-dependencies + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "hdf5-cffi.asd" + ((":depends-on \\(:cffi\\)") + ":depends-on (:cffi :cffi-grovel)")) + (substitute* "hdf5-cffi.test.asd" + ((":depends-on \\(:cffi :hdf5-cffi") + ":depends-on (:cffi :cffi-grovel :hdf5-cffi")))))))))) + + +(define-public cl-hdf5-cffi + (sbcl-package->cl-source-package sbcl-hdf5-cffi)) + +(define-public ecl-hdf5-cffi + (sbcl-package->ecl-package sbcl-hdf5-cffi)) -- 2.25.0 ------------=_1580896622-27793-1--