From patchwork Sun Jan 15 21:55:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 46149 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 856AB27BBE9; Sun, 15 Jan 2023 21:58:42 +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 649E227BBEB for ; Sun, 15 Jan 2023 21:58:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHB16-0007fz-Q1; Sun, 15 Jan 2023 16:58:16 -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 1pHB0v-0007aL-VT for guix-patches@gnu.org; Sun, 15 Jan 2023 16:58:08 -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 1pHB0u-0006nv-23 for guix-patches@gnu.org; Sun, 15 Jan 2023 16:58:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHB0t-0004yP-Vb for guix-patches@gnu.org; Sun, 15 Jan 2023 16:58:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60835] [PATCH v2 4/8] gnu: Add cl-distributions. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 21:58: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.167381988119067 (code B ref 60835); Sun, 15 Jan 2023 21:58:03 +0000 Received: (at 60835) by debbugs.gnu.org; 15 Jan 2023 21:58:01 +0000 Received: from localhost ([127.0.0.1]:59772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHB0q-0004xI-O9 for submit@debbugs.gnu.org; Sun, 15 Jan 2023 16:58:01 -0500 Received: from mx2.dismail.de ([159.69.191.136]:29883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHB0n-0004wE-Lx for 60835@debbugs.gnu.org; Sun, 15 Jan 2023 16:57:58 -0500 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id aff56fa8 for <60835@debbugs.gnu.org>; Sun, 15 Jan 2023 22:57:49 +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=Rltv3A3/jh7xPTUNn8EAL r3NA0Z3CfInpmNl6mg1G4c=; b=J4pP0iC5gQ8jjjYXNxjcsXWwUpqN3yE02OrWH v/npRv9dNRlbvyVqkit502RCBot+sIsa/gq92wqfXLpzevdGFuIXpcv+FsGq2Ysn Mjjgpahgxy+icwomIbLu81iGlfO1KDyXReElhLr29josf1PXfsAVtWrc0Hg1jJcI D826JXXBTbHpz0Xweq6W3OEtqDQ3OKYkwlgzPd5H55WW47iWT5ysq73z/g1cp37X tATZTvG1oKjGxqixKJy0wiS0Xff60iTt09IwLcEuyara8EZ/vPn39j8ZHVGroLYx 9gZAsIGtumn0Yb8vPLcge0zXc2Cr8sAfVksxuwDaOGvciL2/Q== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 6ca78929 for <60835@debbugs.gnu.org>; Sun, 15 Jan 2023 22:57:48 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id b85e4e9e for <60835@debbugs.gnu.org>; Sun, 15 Jan 2023 22:57:47 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 02ccd121 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 15 Jan 2023 22:57:43 +0100 (CET) Date: Sun, 15 Jan 2023 15:55:48 -0600 Message-Id: <20230115215551.3740-4-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230115215551.3740-1-jgart@dismail.de> References: <20230115215551.3740-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 e1b1f74d61..77b885adc1 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -26788,6 +26788,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"))