From patchwork Wed Jan 18 23:15:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 46286 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 24B6327BBED; Wed, 18 Jan 2023 23:19:55 +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=ham 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 94ECA27BBE9 for ; Wed, 18 Jan 2023 23:19:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIHhx-0000wc-TX; Wed, 18 Jan 2023 18:19:05 -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 1pIHhv-0000vm-Vz for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19: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 1pIHhv-0007z4-O7 for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pIHhv-0006Uh-JQ for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60835] [PATCH v4 5/8] gnu: Add cl-distributions. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 23:19:03 +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: jgart Received: via spool by 60835-submit@debbugs.gnu.org id=B60835.167408391824882 (code B ref 60835); Wed, 18 Jan 2023 23:19:03 +0000 Received: (at 60835) by debbugs.gnu.org; 18 Jan 2023 23:18:38 +0000 Received: from localhost ([127.0.0.1]:42055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhV-0006TE-NN for submit@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:38 -0500 Received: from mx1.dismail.de ([78.46.223.134]:46581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhL-0006Ri-SP for 60835@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:28 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9dc1f210 for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=N5/oLCymGhzj4Q+077tBP jYTKWX09TAbO28c4tz99v0=; b=u3qllJb34zCFcgG6llne5WGF7yYFTWSLYglkB mm+nupH2jqEe32P0TZH38b5L6oH8PZftREtWoGgEjJRRDKSYdxZB0IJgM6CyerSH yNaNxGCtqrACZvZ+YnFiSTRueSoukVNbqBH0XDI8dqpfZf+aIbKoBRP7Gbx5Tbp9 Yw0+HadKSvVKHk063lj+cAoSncW+LKp2Kny6wNGfa4rwVi1jcrQU3xPOsLXEN5c9 BPklBS/aEC0oIsJxd5TSxmvwA06lyVoWGf7sAUQo2AVwRIMPBofE+4SoAptMImHW cwkzfmbEuXFFn44rl3HthWwzlBJOV0u+VjgfQizp04vCDqoaQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a9296579 for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:24 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id d40094b3 for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:23 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 53a74400 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Jan 2023 00:18:22 +0100 (CET) Date: Wed, 18 Jan 2023 17:15:47 -0600 Message-Id: <20230118231548.4609-5-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230118231548.4609-1-jgart@dismail.de> References: <20230118231548.4609-1-jgart@dismail.de> 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-distributions, sbcl-distributions): New variables. --- gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index c27e3e1650..a974958a83 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -26846,6 +26846,47 @@ (define-public ecl-special-functions ;; https://github.com/Lisp-Stat/special-functions/issues/4 (arguments (list #:tests? #f)))) +(define-public sbcl-distributions + (let ((commit "ea72622073ee7e005dfdc621ce1e5a83b22bb39e") + (revision "0")) + (package + (name "sbcl-distributions") + (version (git-version "1.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Lisp-Stat/distributions") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fkzigd0s0s0mvszgmv04yc8jp9gm4812445hfh6kpz6cjy5zpsk")))) + (build-system asdf-build-system/sbcl) + ;; https://github.com/Lisp-Stat/distributions/issues/1 + (arguments (list #:tests? #f)) + (native-inputs (list sbcl-fiveam)) + (inputs + (list sbcl-alexandria + sbcl-anaphora + sbcl-array-operations + sbcl-cephes + sbcl-numerical-utilities + sbcl-special-functions + sbcl-let-plus + sbcl-float-features)) + (home-page "https://lisp-stat.dev/docs/manuals/distributions/") + (synopsis "Random variates for Common Lisp") + (description "The Distributions package provides a collection of +probabilistic distributions and related functions") + (license license:ms-pl)))) + +(define-public cl-distributions + (sbcl-package->cl-source-package sbcl-distributions)) + +;; https://github.com/Lisp-Stat/cephes.cl/issues/2 +#;(define-public ecl-distributions + (sbcl-package->ecl-package sbcl-distributions)) + (define-public sbcl-seria (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a") (revision "0"))