From patchwork Sun Jan 15 21:59:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 46161 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 A8D8527BBE9; Sun, 15 Jan 2023 22:02:03 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C92A527BBEB for ; Sun, 15 Jan 2023 22:02:01 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHB41-0000Lw-QW; Sun, 15 Jan 2023 17:01:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHB3n-0000HD-9t for guix-patches@gnu.org; Sun, 15 Jan 2023 17:01:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHB3m-0007Yo-Jn for guix-patches@gnu.org; Sun, 15 Jan 2023 17:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHB3l-0007PZ-SN for guix-patches@gnu.org; Sun, 15 Jan 2023 17:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60835] [PATCH v3 1/8] gnu: Add cl-variates. References: <20230115131057.GB12647@dismail.de> In-Reply-To: <20230115131057.GB12647@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60835@debbugs.gnu.org Cc: Guillaume Le Vaillant , jgart Received: via spool by 60835-submit@debbugs.gnu.org id=B60835.167382002924737 (code B ref 60835); Sun, 15 Jan 2023 22:01:01 +0000 Received: (at 60835) by debbugs.gnu.org; 15 Jan 2023 22:00:29 +0000 Received: from localhost ([127.0.0.1]:59794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHB3E-0006Pf-56 for submit@debbugs.gnu.org; Sun, 15 Jan 2023 17:00:28 -0500 Received: from mx1.dismail.de ([78.46.223.134]:33501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHB3C-00063V-66 for 60835@debbugs.gnu.org; Sun, 15 Jan 2023 17:00:27 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c8df6f7a; Sun, 15 Jan 2023 23:00:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=c1zTrAoy1Qig3I8L0nW6k fY4Y8JcJXvN4ClzT5C/wJU=; b=nxSQFlZARbd1PqcooIDuY+ZGve3l5umVyHKxF Ua9EhSt/7k1+XGHCiX7ZWVDxbdT/wMMBnDO1Fk6c0QTyeGWNa5+ltZVdvZb/WdYg 58cQShh7HkmkvGajIRaynaPMzjDM8C+L1pQD9Me8Qr9tKfk1gZPAgIxP8w4vKO+A GzNEyo2mLjmElSbN59Bua07fDzwmxpFgF9LFs69ekXJJryRqp2cemHxGG7j/5h4U DF9iNuZA934PV8G2EcF+1CEhzCc8b64b99cqATm9M6RKB2hsm7olhyECjkJxlV4/ Qt8sv5V4nNo87Kz5gcPSLspmftfXi4WcNTWf6xVZO/THMMNEQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id e114171d; Sun, 15 Jan 2023 23:00:19 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id e9cd0600; Sun, 15 Jan 2023 23:00:19 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id cdf34995 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 15 Jan 2023 23:00:17 +0100 (CET) Date: Sun, 15 Jan 2023 15:59:07 -0600 Message-Id: <20230115215913.3930-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates, sbcl-cl-variates): New variables. Sorry, I accidentally bunched an unrelated patch in v2. Here's v3. all best, jgart --- gnu/packages/lisp-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 943d295c5d..35e10b3301 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2021 Cameron Chaparro ;;; Copyright © 2021 Charles Jackson ;;; Copyright © 2021, 2022 Foo Chuan Wei -;;; Copyright © 2021, 2022 jgart +;;; Copyright © 2021, 2022, 2023 jgart ;;; Copyright © 2021 Aleksandr Vityazev ;;; Copyright © 2021 Jacob MacDonald ;;; Copyright © 2022 Jai Vetrivelan @@ -26644,6 +26644,39 @@ (define-public cl-smug (define-public ecl-smug (sbcl-package->ecl-package sbcl-smug)) +(define-public sbcl-cl-variates + (let ((commit "4e7548754d8a8731a42487fae31174db4bf36d47") + (revision "0")) + (package + (name "sbcl-cl-variates") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.common-lisp.net/cl-variates/cl-variates") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03wnvfi3yfflpvi0mr732r834msij4vrwdbgf6csh0b8kqxl47zn")))) + (build-system asdf-build-system/sbcl) + ;; USE-PACKAGE # causes name-conflicts in + ;; # between the following symbols: + ;; CL-VARIATES:RANDOM-ELEMENT, LIFT:RANDOM-ELEMENT + (arguments (list #:tests? #f)) + (native-inputs (list sbcl-lift)) + (home-page "https://gitlab.common-lisp.net/cl-variates/cl-variates") + (synopsis "Portable Common Lisp Random Number Generation") + (description "The variates package provides portable random number + generation as well as numerous distributions.") + (license license:expat)))) + +(define-public cl-variates + (sbcl-package->cl-source-package sbcl-cl-variates)) + +(define-public ecl-cl-variates + (sbcl-package->ecl-package sbcl-cl-variates)) + (define-public sbcl-seria (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a") (revision "0"))