From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QK3cCMoUkmF58AAAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 09:05:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iGSWBMoUkmHkOAAAB5/wlQ (envelope-from ) for ; Mon, 15 Nov 2021 08:05:30 +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 CE83CBEE4 for ; Mon, 15 Nov 2021 09:05:29 +0100 (CET) Received: from localhost ([::1]:58948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmWzY-0004vp-TB for larch@yhetil.org; Mon, 15 Nov 2021 03:05:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmWz8-0004t0-75 for guix-patches@gnu.org; Mon, 15 Nov 2021 03:05:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40943) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmWz7-0007p1-Pf for guix-patches@gnu.org; Mon, 15 Nov 2021 03:05:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmWz7-0000pJ-LP for guix-patches@gnu.org; Mon, 15 Nov 2021 03:05:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51861] [PATCH 2/3] gnu: Add cl-chemical-compounds. 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:05:01 +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.16369634603107 (code B ref 51861); Mon, 15 Nov 2021 08:05:01 +0000 Received: (at 51861) by debbugs.gnu.org; 15 Nov 2021 08:04:20 +0000 Received: from localhost ([127.0.0.1]:52489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmWyR-0000o2-L1 for submit@debbugs.gnu.org; Mon, 15 Nov 2021 03:04:19 -0500 Received: from mail-sgaapc01olkn2027.outbound.protection.outlook.com ([40.92.53.27]:30945 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmWyP-0000nl-Ee for 51861@debbugs.gnu.org; Mon, 15 Nov 2021 03:04:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m7BI/o6bdvUQQGQ8bpdzVwOWkn2fsvGejE7S4UJALrbf72w9q6Z8hRRNExkYpQFgYZ4TTxWqLKsNyKL3CbXzbCW5U+EGhNHWUTQjTWIhgSKuKUOu0V22cnGeyFkEfDh7Dv9xE2dAB6Ez/Blp14PCPvlNb9OpihWNZZ7ros+zafxFXgMKfGYVBiNI8DJA1FoD8kZzTfumJ+ZBt5BgsSuIWpgjF4jQoPXE1Gq+iMWVA3zzcJFixQbDo6aLb7MJyyDjboPWkJR+G3huFsWu8aXozVMqaLAQJEKOf4iSueOiZ/dQAslwH3QHtyC2/yIsgalljyO7DVH/ZstRylpoJHTvlA== 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=tr7SYAMTez6NLcjqHT4DQb3OyIpjca++8IsoeFIPSUU=; b=E6DjmfYBQFlz29UsLDNVhTjYsSKrz/BeBrxmo9/dUGZYRM1fPZZNJbvjVVcb65m9g7ICV9vvSICSQ6snbLObj35ePiPftoezVOFaXgZkzeJQw2R1TIEIW/tWvv9dytNOufkoawpsvUgidUwqEoeo20UA5MigB8Sy+BxOV2YhWLGXP2oHWwq53GnBgHsS6L92Wykg7YDNbQTaF21Zkax7nFyJX+EIAcoEM+WwdEkAGKwMCoZjYpHrbsKXcJSvBPL1tpayjgLH/Jlg6UECu9pzXjmg5Mf72WVJPji4bRkODXGNn90ehej3GSLO5sdJWB3tRW/FfClBzw9F20RO4KK4Yg== 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=tr7SYAMTez6NLcjqHT4DQb3OyIpjca++8IsoeFIPSUU=; b=helYqYWpagARkR5eCDYkAxRXCIJF/H8aSmTe4G+djLtmp6ADx8sbWKpHS0ytqBC0zlz1caluVv6KJUQsp+AewUCC/YdFpoA4pdm14wtjG2HWTbIirVwpgh5JmhDtjJqYZHm588Mfx9kVcfhg/1pdunYWirxsz0K1yI5VhzkDJePFSNYA5CvpbtiEVExItTWD9e2LxWwwaSIH4KU3PjMggjJ3v/Sgq5RM9cv95ARTHCvwsTfwjppavpQZccvYouE5JZNbm0rkIZkqdOEwhWAoUYMmEx2vQPl3mAb5lq5XEAvkfN4xr1owRN9Iczh/QYlyGYhAKc97Kfipt1ZbXT+9YA== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PSBPR01MB3621.apcprd01.prod.exchangelabs.com (2603:1096:301:5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.25; Mon, 15 Nov 2021 08:04:09 +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:04:09 +0000 Date: Mon, 15 Nov 2021 08:04:05 +0000 From: Foo Chuan Wei Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-TMN: [ohx/8ES8IRUYDbTnBumzIPsNKUxfDAy1] X-ClientProxiedBy: HK2PR0401CA0007.apcprd04.prod.outlook.com (2603:1096:202:2::17) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211115080405.oxvtsbmqg7wplmtk@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (119.160.168.66) by HK2PR0401CA0007.apcprd04.prod.outlook.com (2603:1096:202:2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.25 via Frontend Transport; Mon, 15 Nov 2021 08:04:08 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5d3d9145-5746-4775-3568-08d9a80e80a3 X-MS-TrafficTypeDiagnostic: PSBPR01MB3621: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 587wn4qU2nFgjcOOsZZB0wKYe7fZ2G1k+ZtNQh+whrDd4ZfppKC0unkQaqrfbSO6NsY97/HyV+oXtCZFTPMHKMcSDhKQrxsou58A6UOd6y28ddwCGVFuCpU0OFDBKJU0Es4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QnfEEtxs9DNRun29qZTllmnHBCWj5jG/+AAAPMSFrNdj2CQ5JOm3owe1gUPoqoBPxJdv9VpFQGoTj4RX48PrI0ZXb8TnxvW19sQU++fN13kYZlUNCv+0Tq8ZFn5lAS66g7NdJ3Xkk7DuY5K1OsyqZpbOUa0e9vxd0GUljyXXOcMNT/hoxcdA== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 5d3d9145-5746-4775-3568-08d9a80e80a3 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:04:09.3542 (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: PSBPR01MB3621 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636963529; 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: content-transfer-encoding:content-transfer-encoding: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=tr7SYAMTez6NLcjqHT4DQb3OyIpjca++8IsoeFIPSUU=; b=X6AjFKida5M/L6GCCZgNkJujLGDQrLEn5sAgMqQ6q+kfnpxWLKM7X2n55zCeu3dRPEdCa9 fY0CepU3CBSs6OkJ1pxJlQ1ekml9GasdJCGxrSzTkeQE0c7R9O+f5g04ZrfwVMrGx13j+x I9CoSfKiKk56ICwwOAdTrT7MYzF+wAmeLG15bp1yiT94I0vej0Map4cSGLsiLTSz2DM+h8 4+/7gbsplno7l5mfTONCRoDUxb0H5rDvBRkYQssfrJOjj7xUBK3y4SU9l0Supk0Xma/n/2 /M5bWFH2HArBOFwnzTc47hWWozY4eAEaPP5cR3dKMx7P+hel4LRxls762juN9A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1636963529; a=rsa-sha256; cv=fail; b=nRLLipos6WtkeRV5l7j+DDZ/e84gQehAlNJqgW8jrPGGVfIQKPTgnF+SmvJZ+uRtv8YGaZ HsT5koWDvS6nrvrHcUmxruy6VsN5Gtu7k1I/bA8/98Ay4PmzCGJQSb/Oi/kZURfxtmjqVC oIlOdYC8nYmHSE1RKckcW6IBE8qRuayYOnQ/BYm6f16VqCX6+NCo6FB9mCESf8Bfhos3po ZiydKP0InHR5byooEzI1yASTuEXW1a8CuEmfuHw5MDQsBX2BtO5rbg7dFEKD1+Wma6o0Bi 53tvp4RJ8d4je/rK9mTf89M2OeawjSZkVR1NA9DnhOvfRmGEefdmDQp0/VXJAw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=helYqYWp; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b=helYqYWp; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=hotmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CE83CBEE4 X-Spam-Score: 0.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ii/XzTGtJLCk * gnu/packages/lisp-xyz.scm (cl-chemical-compounds, ecl-chemical-compounds. sbcl-chemical-compounds): New variables. --- gnu/packages/lisp-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d3ae430cf1..1365c50bf4 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -18707,6 +18707,49 @@ table.") (define-public ecl-periodic-table (sbcl-package->ecl-package sbcl-periodic-table)) +(define-public sbcl-chemical-compounds + (package + (name "sbcl-chemical-compounds") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://common-lisp.net/project/chemboy/chemical-compounds-" + version ".tar.gz")) + (sha256 + (base32 + "12fd8a6ay5qlsq4givzgh9d55mbg4ci2vvmymig6pjl2ms64v0pf")))) + (build-system asdf-build-system/sbcl) + (inputs `(("periodic-table" ,sbcl-periodic-table))) + (arguments `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-files + (lambda _ + ;; Fix incorrect version number. + (substitute* "chemical-compounds.asd" + ((":version \"1.0.1\"") + (string-append ":version \"" ,version "\""))) + ;; Remove incorrect declaration of string type. + (substitute* "parsing.lisp" + (("\\(declare \\(simple-base-string string\\)") + "(declare")) + #t))))) + (home-page "https://common-lisp.net/project/chemboy/") + (synopsis "Chemical formula parser and printer for Common Lisp") + (description + "It can sometimes be useful to be able to parse chemical compounds in a +user-friendly syntax into easy-to-manipulate s-expressions. You also want to +be able to go in reverse. You could probably write your own parser — or you +could just install the chemical-compounds package.") + (license license:llgpl))) + +(define-public cl-chemical-compounds + (sbcl-package->cl-source-package sbcl-chemical-compounds)) + +(define-public ecl-chemical-compounds + (sbcl-package->ecl-package sbcl-chemical-compounds)) + (define-public sbcl-cl-pass (let ((commit "e58e97c0c0588dc742c061208afb9bc31e4dbd34") (revision "1")) -- 2.25.1