From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJFCHrkVkmHz8AAAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 09:09:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YGb3GbkVkmGYOwAAB5/wlQ (envelope-from ) for ; Mon, 15 Nov 2021 08:09:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 003B422C89 for ; Mon, 15 Nov 2021 09:09:29 +0100 (CET) Received: from localhost ([::1]:37774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmX3P-0001NM-9K for larch@yhetil.org; Mon, 15 Nov 2021 03:09:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmX30-0001N7-JV for guix-patches@gnu.org; Mon, 15 Nov 2021 03:09:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmX30-0008Sf-Av for guix-patches@gnu.org; Mon, 15 Nov 2021 03:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmX30-0000wM-53 for guix-patches@gnu.org; Mon, 15 Nov 2021 03:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51861] [PATCH 3/3] gnu: Add cl-chemboy. References: In-Reply-To: Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Nov 2021 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51861@debbugs.gnu.org Received: via spool by 51861-submit@debbugs.gnu.org id=B51861.16369637003544 (code B ref 51861); Mon, 15 Nov 2021 08:09:02 +0000 Received: (at 51861) by debbugs.gnu.org; 15 Nov 2021 08:08:20 +0000 Received: from localhost ([127.0.0.1]:52494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmX2K-0000v3-9s for submit@debbugs.gnu.org; Mon, 15 Nov 2021 03:08:20 -0500 Received: from mail-psaapc01olkn2104.outbound.protection.outlook.com ([40.92.52.104]:44033 helo=APC01-PSA-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmX2I-0000uo-T1 for 51861@debbugs.gnu.org; Mon, 15 Nov 2021 03:08:19 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=flkH5223Jc0zywxMKhbAK9fFz7yyXj8UhSDDu+HxYAFkVfLbu3H4bJeluFflzvdUsuKgWnB7GI2lvcWQBY4S38YTbQbIJVrYOlXfiL1inYuE1y1oSqjOowJGwqTVq0SaVvvLkBHU/sX8TZljic0lBQvpq/D4NbojtDUnfhg91GGTEKSd2CP279o0ihLr5U3Zm/uocVVwhIdJA0SN75m/4apouIGOHWLScBPKGt175eFxwDqRh2VjRpSwP+x8+6OHMbqvAA/KUISS8sGZ/BNN5JvzIlXAXwibA0hGCJXZDx6Iw7YHU3/+235/ayUxT2jF3Uwdpxox0994ir9EIq3e8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BQuPQfRBWvicK6kak9yia7hjiYneKuWp2I7v1DbHNs4=; b=nu3RC3k/P5NJlW3S4+dDGAu8HoKrHfHrtsi88NLLhX7gZ6qhem/9uxO8Gg3wLNfsEQ7pOp5d6q2eYlf58vBBY9dlsPcY5IJvIw/EtAMBQWRX1+3z70t/XLcasBDtjAaQbXGC+cy0ypt8ySTMu0N9ZiZOI91bU2MnGqmJW2cJRJj42lPTwVTBbrOdclLYbEdgpekYdoul6P5kBDxVIlYg7cQfMiLfh8PJxRD1hqweP2MguUNqiEif/Cm8m1rXmi41RJYfmiLf9SWUbtAUiclW3C1EFxmibXpm2gtXFOkq81SeGfZDLGSUWsRw7qM+TYUrO79BYyanOqwya9gfH7Yydg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BQuPQfRBWvicK6kak9yia7hjiYneKuWp2I7v1DbHNs4=; b=ijiWtUJWsPoaVE8++YnEdlOlYFMb3VZ9HJ34FTXsSPwLvx48Bqaill5HMMccCbuhP5oYPaXKbnI6xLXnaOTV4/8jiqWf1koveKw8Rp+nppRYj49n79cd1oO7XSwBsulUItNfeAvxMSqn8z7TgzGVPIk6VAvSpsPNHBdohcb9UXViCLTfFl7Firj2kt+LPfLCbEOR7W1HL4p1wAQqQxr22wMkH7JfVT46mNik7Poix91IomewuueKqoULHn8xPx7BcrOFBEny/DtWmPVyneoNYcjLxbIfWiyXtCUkoHiWaIwBAWz7tCZo6SxMM7oJri4gPkJWcyZuW67Nn4zyOvnKNw== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2422.apcprd01.prod.exchangelabs.com (2603:1096:300:36::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.17; Mon, 15 Nov 2021 08:08:11 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4690.027; Mon, 15 Nov 2021 08:08:08 +0000 Date: Mon, 15 Nov 2021 08:08:05 +0000 From: Foo Chuan Wei Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TMN: [p+TXgPMwYvxx8CBvgMKl7tkJPY4cIeY9] X-ClientProxiedBy: HK2PR02CA0153.apcprd02.prod.outlook.com (2603:1096:201:1f::13) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211115080805.pz5qtsqlbpbuuzbd@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (119.160.168.66) by HK2PR02CA0153.apcprd02.prod.outlook.com (2603:1096:201:1f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26 via Frontend Transport; Mon, 15 Nov 2021 08:08:08 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 57f58858-19b4-4845-a153-08d9a80f0f4a X-MS-TrafficTypeDiagnostic: PS2PR01MB2422: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bOXssBNu6+9+/QHsK+JxhXU/mTkIhk8UnN0zobIjvV3aLMBaSPhk+2One2s4K5EhogWUfowuhlzWp2KTQXx7mrd59JW7A71DdkVf9i6CPE5XvCwbxLi0CaDChFLcFPCu9WcMnxAFs4ELz6TVgRQRHZYXUJV4HmKvBZpxJYiqTUFRftSKbE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qTtR4cGxg3d4Ch1r8irrr3FUvY81hmaQSQTGhpkkkIZBJ7zh0nwsyd4GN5SUIgku+WHVtKz8cq12xupBKtN3glYxH8rTgi7HhorJBkLi0zkfi+ap2GT4+bD/nKRKubg== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 57f58858-19b4-4845-a153-08d9a80f0f4a X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2021 08:08:08.6419 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS2PR01MB2422 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636963769; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=BQuPQfRBWvicK6kak9yia7hjiYneKuWp2I7v1DbHNs4=; b=jb7rf1mxJLXIAm4XB0cLjTqx4XoyvobmkQwNSkbxLh8Hp2Bj9tqxK88v4pGUFzb0dxWGlp EbSvXX8Nkja6W+xQUekjXjm9I58HQOX5YH8+nUUbr9D0tJYDQmJFy+DtrMinT8KPJO7SLr v86WAsJynr8TqVNQ9Rzlvuy2zFVWCu7tU3dKrGKh6/MnhfFNZ88tDAr1itTD0WmN3gec0i 9gVxJvNYEl6uLppDq9ueJITOn7UadSLf6SCRKhFMU2a3WvbBoN8LhGHnX1bbYqXqyW2aI6 j9QFIas2cE5v/vTj17Yh3ftU9A9lrYXQvax7rfPdi9H/qOkyYkJpOlQQfBGsYQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1636963769; a=rsa-sha256; cv=fail; b=e/1dOWDKrIGodBsEpT4FmxwKCxmOZ17hc/NEFw0nibjbhX6gRwW0oml7LPWJRW9ucm+o/X xgv6K1cNz9vjiiLD2hnzAB5GOfRcnfXokHZAG6t64+zERVHmdQw94VmSGgdwjR2U9NXV3C 6LoK/hg0c7FCyE5irMsTahT8KTY9Owv56wTBu3GsIpgwXL5jSSZltJcWxqHgDAN3JPLprV OHV75gxcZWSmCI+Og3WE2E5fuyw2CR5a2f4l4aI2sa+YHQ7L/HH9NYZtjJVnSddQUJbn25 O7A3latow4WJAbz1Mbs13hvzfL6G2qFMWyLWyTjEjxyl9UQ34wnVy1eHzMOy4Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=ijiWtUJW; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=ijiWtUJW; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 003B422C89 X-Spam-Score: -0.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: PCCwkriJQBZw * gnu/packages/lisp-xyz.scm (cl-chemboy, ecl-chemboy, sbcl-chemboy): New variables. --- gnu/packages/lisp-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1365c50bf4..bfa1330ac6 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18750,6 +18750,54 @@ could just install the chemical-compounds package.") (define-public ecl-chemical-compounds (sbcl-package->ecl-package sbcl-chemical-compounds)) +(define-public sbcl-chemboy + (package + (name "sbcl-chemboy") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://common-lisp.net/project/chemboy/chemboy-" + version ".tar.gz")) + (sha256 + (base32 + "0lr134l16mjcgdj3fm2yff4chlfbihn1sji7q80y7lnr176zgs7d")))) + (build-system asdf-build-system/sbcl) + (inputs `(("chemical-compounds" ,sbcl-chemical-compounds) + ("periodic-table" ,sbcl-periodic-table))) + (arguments `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-files + (lambda _ + ;; Fix incorrect version number. + (substitute* "chemboy.asd" + ((":version \"0.2\"") + (string-append ":version \"" ,version "\""))) + ;; Remove incorrect declaration of string type. + (substitute* "query-parsing.lisp" + (("\\(declare \\(simple-base-string string\\)") + "(declare")) + ;; Fix incorrect function calls. + (substitute* "conversions.lisp" + (("\\(pprint-compound element s\\)") + "(pprint-compound element :stream s)") + (("\\(pprint-compound parsed-compound s\\)") + "(pprint-compound parsed-compound :stream s)")) + #t))))) + (home-page "https://common-lisp.net/project/chemboy/") + (synopsis "Common Lisp program for doing basic chemistry calculations") + (description + "Chemboy is a Common Lisp program for doing basic chemistry calculations. +This package provides the text-based interface for Chemboy.") + (license license:llgpl))) + +(define-public cl-chemboy + (sbcl-package->cl-source-package sbcl-chemboy)) + +(define-public ecl-chemboy + (sbcl-package->ecl-package sbcl-chemboy)) + (define-public sbcl-cl-pass (let ((commit "e58e97c0c0588dc742c061208afb9bc31e4dbd34") (revision "1")) -- 2.25.1