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 wNsZIkLxsmExPwAAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 07:18:42 +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 0NzkHULxsmENeAAAB5/wlQ (envelope-from ) for ; Fri, 10 Dec 2021 06:18:42 +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 42AB7F812 for ; Fri, 10 Dec 2021 07:18:42 +0100 (CET) Received: from localhost ([::1]:59114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvZEu-00035V-KW for larch@yhetil.org; Fri, 10 Dec 2021 01:18:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZEI-0002wA-9o for guix-patches@gnu.org; Fri, 10 Dec 2021 01:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvZEI-00086A-1P for guix-patches@gnu.org; Fri, 10 Dec 2021 01:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvZEH-0001bB-Sy for guix-patches@gnu.org; Fri, 10 Dec 2021 01:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52408] [PATCH 4/5] gnu: Add cl-random. References: In-Reply-To: Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Dec 2021 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52408 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52408@debbugs.gnu.org Received: via spool by 52408-submit@debbugs.gnu.org id=B52408.16391170636121 (code B ref 52408); Fri, 10 Dec 2021 06:18:01 +0000 Received: (at 52408) by debbugs.gnu.org; 10 Dec 2021 06:17:43 +0000 Received: from localhost ([127.0.0.1]:45295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZDz-0001ae-Jb for submit@debbugs.gnu.org; Fri, 10 Dec 2021 01:17:43 -0500 Received: from mail-oln040092255029.outbound.protection.outlook.com ([40.92.255.29]:25494 helo=APC01-HK2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvZDv-0001aN-27 for 52408@debbugs.gnu.org; Fri, 10 Dec 2021 01:17:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AoMnVq76Eta0/cpAMprfnVPz0vLrhwdSOo1Mg5cTe7aHoMDXDwDl0+gWYAgOXNTx3tl6QVYzsCzK3gRQmRY34wE+b0mD9+P1PzMzdx8tzoOX4E9b3Z5bGc/nF3EW2X52rEKHAPsLu4vYK9kbMRQ6FUGdR1H9Z6PRxrCrUve/B5FR+B+SzLc9LHYY/JLdHqbJnsgf4Fh5N5lzmLOlE9WE9qHJazUiO8EMfp4Nk5QPp1MhK6080HmvT0/pv89MrZecg1YbcFGL1vx8wVvpkqMr8xx/QrwAEg+2kjNweALspdGB1IwxrQCbxiGizR3TFb15BDGfOESKUQOsZFu9wbDAmg== 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=qia/m0zp0OugAk1e0XUhVVr5l/6vCI8JcTFsz3cmqpg=; b=Tc3AE5TvRqX9CO2URib1V5d06NiPQXUANfVBacrA+VQRu3LihuIO0eiL7cZ6Dbu4rv+3fUY8R78VUAAtuRmDY9UKLCIL8ahvfpOqL2rc9WVskAZhwa7sZw6eP/ensHAqskI2FOv/c58rkhA0DWmoRNjMIbBCt/qbQpIIsFd0ZzxAycho5e6/UpQyb7ZBpnvOuR2uJTEHnpHnK5XAfH5TPnikO+yFXPVmytIupnUwPdpROpbvISZoMIeI+kfQLn6ED/reymFxfpzFeDd1oZNTSvxnJmQyS/lDYQDprHHJ1x0Q60tnB87CtLIzUmjdMseRMcWmBMdmhsPEaGzNLHjD2g== 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=qia/m0zp0OugAk1e0XUhVVr5l/6vCI8JcTFsz3cmqpg=; b=WUiS/EtHsktwMBevCHEGwGGeTOWuoOuyPBDbV4lMUd5K0axomOkySpcOjuBpx1VzgoRSqMJlh66xWaloIa4V0/5MivNRjfYZjuVnAL56yQakNZG1Kjd4klJEUCooCQ+b13vwGNxzLy9i4X8emwPiY25h6AUTvlqp6mT0WYCUpehprIF2/iTTm6M0T0SFrGjzT2zHxWTZqprpKoCYzTgZ1U3A1P7/qRWqPMT5jKyqywOMrpv9u+mFvHOMKqerLKZf3LNpuUgZFu0yTAzMXZ36XQn56qF1LDknT6FyIv4inn2HMGB67U4hk7XIYfgXWwAK4uXc9N1PC2x+/V9LRpt5bg== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PS2PR01MB2535.apcprd01.prod.exchangelabs.com (2603:1096:300:3d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Fri, 10 Dec 2021 06:17:30 +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.4755.026; Fri, 10 Dec 2021 06:17:30 +0000 Date: Fri, 10 Dec 2021 06:17:27 +0000 From: Foo Chuan Wei Message-ID: Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-TMN: [BsDctDQH0/7vDvh+LLosoKbkJsJy3RyK] X-ClientProxiedBy: SG2PR03CA0100.apcprd03.prod.outlook.com (2603:1096:4:7c::28) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211210061727.2syxzjfnhspx47cn@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.35.133) by SG2PR03CA0100.apcprd03.prod.outlook.com (2603:1096:4:7c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=) via Frontend Transport; Fri, 10 Dec 2021 06:17:30 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1eac2efa-8f98-4b97-c039-08d9bba4bf29 X-MS-TrafficTypeDiagnostic: PS2PR01MB2535:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c0/zWEL0HdQCS0r1+LWpqT8aujYNNfRMIrjlJpsMEhd+iUBmEx9hr78ruYrHu5GTmXSufJYu8oIae8v6Tnin0hzHXhDOc4jKNUW7SCUMiNdJ404iMdN6jI/w9njEyHh5Wg1nkhNGJM3JpvvMOevEvKG6x3NjSXjzlLqarQq4rjB8PtQvlWp/Vna8/uf3CMsYF0JEtSKV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xMaX1hQj+ktySte0C4tOREpXeliHDaxppPpX6lJhulae4lnTtCHfUi/h7B/88x+46Qy2tje3F4AWjU+1JJLKKLLQRMufurPXJaocdJiqNzs6j1KhEZBgAhd5Tgp+mu1xV1MqdOf0Z/UPHE6/WYntaPc/LKLBrn3qtH6RhjECLwL6Ch47PgFzWmuuWsU1NHlc+PGo8ti+uNf/BIqM3taecstbdFFhAifqlRNrK6pwcbC9ElkJFLn0QaqHGa2hqGTBX0kEYKsi6cunFwMcUrEEpSOB8yOR5FDUwA1cRbTm0TVzI2+f589nVD+hdYW0CKls9ciMAVeUOpWX0UaM+8N1yYGNKHfYfOSdXQgOb2ltF98bC1VdN0vUyUzCxSjuGzxPUUmIhjr +FZ2ehCgnfrG1RCuwV5pbg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 1eac2efa-8f98-4b97-c039-08d9bba4bf29 X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2021 06:17:30.8119 (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: PS2PR01MB2535 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=1639117122; 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=qia/m0zp0OugAk1e0XUhVVr5l/6vCI8JcTFsz3cmqpg=; b=a6wqM+8RVfHntAEbb08c3H7bDqXfaY/W4jwYijQ/WjYF1cP415WaB65EhKWd8CUzZPMieu WzzSCbdULYCmmOMLxsuvyf3Th9dOwMMgewJZan4n5jtDZ7YoZPnthJbaPpYOkK9HOjvdX4 mkmfXMoXH1i6aJSQX8It71bm+2GPv7kVZ1SbdBIkJayNKhcivaiDXATNqqXw+hcbnRjQ9V 4XK1kE8osHyBGepsUopxKKRPzabRh5gfXCBtLOpv24qdaQa5zMVfQCHXbjx279vFem1CVf FyiJI53ME0s3+VQgVKNK7MTuXRGm2cjJ0q4iAx5cuKEo0Xwn8tRRIOwFpHZkMg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1639117122; a=rsa-sha256; cv=fail; b=VKxBqDjXRoToxFN8r3E23yAUiyajqe65xtqlfjBU4Sda9qi4H/7d/wixNajiu3BQfwh1qD xZdhI5SCRKUvBektoGyzO2gg6ZPXw213TkhSS/8LUZ5s+uU/67l8i8vlyfY93heToTI9f/ HyAGimdsgj3x3F923T+W/d5R9KD/DIvzZAMCh3VHam8wSJjU0Axv1ZrXU7e206BF49ITMu yzZRHz/UAjh95k9jsgOOjGz4FCPDSXK7ZV5YEoEpCwy9JOyoUJshmua/7upm11WKK91hoN HXbWW8Y2MshowBhgwU3FYU6A0WzEuadbITj7M9OkhikHIfWzH/lvD1Ct5Dcmdg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b="WUiS/EtH"; 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+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: 2.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=hotmail.com header.s=selector1 header.b="WUiS/EtH"; 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+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: 42AB7F812 X-Spam-Score: 2.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: OYbQFE95T7aB * gnu/packages/lisp-xyz.scm (cl-random, ecl-cl-random, sbcl-cl-random): New variables. --- gnu/packages/lisp-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1ee763d25f..1477c3e091 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -19508,6 +19508,48 @@ to serve as a building block for such an interface.") (define-public ecl-cl-rmath (sbcl-package->ecl-package sbcl-cl-rmath)) +(define-public sbcl-cl-random + (let ((commit "5bb65911037f95a4260bd29a594a09df3849f4ea") + (revision "1")) + (package + (name "sbcl-cl-random") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tpapp/cl-random") + (commit commit))) + (file-name (git-file-name "cl-random" version)) + (sha256 + (base32 "0jn80xphyvyp2v72acr6b8a2f6dw06myr5vrjfl14brsvks7wr89")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria) + ("anaphora" ,sbcl-anaphora) + ("array-operations" ,sbcl-array-operations) + ("cl-num-utils" ,sbcl-cl-num-utils) + ("cl-rmath" ,sbcl-cl-rmath) + ("cl-slice" ,sbcl-cl-slice) + ("gsll" ,sbcl-gsll) + ("let-plus" ,sbcl-let-plus) + ("lla" ,sbcl-lla))) + (native-inputs + `(("clunit" ,sbcl-clunit))) + (home-page "https://github.com/tpapp/cl-random") + (synopsis "Random variates for Common Lisp") + (description + "@code{cl-random} is a library for generating random draws from various +commonly used distributions, and for calculating statistical functions, such as +density, distribution and quantiles for these distributions.") + (license license:boost1.0)))) + +(define-public cl-random + (sbcl-package->cl-source-package sbcl-cl-random)) + +(define-public ecl-cl-random + (sbcl-package->ecl-package sbcl-cl-random)) + (define-public sbcl-cl-tld ;; No release. (let ((commit "f5014da8d831fa9481d4181d4450f10a52850c75")) -- 2.25.1