From patchwork Wed Jan 18 23:15:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 46289 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 BA1D627BBED; Wed, 18 Jan 2023 23:20:07 +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 073A427BBE9 for ; Wed, 18 Jan 2023 23:20:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIHhy-0000wh-64; Wed, 18 Jan 2023 18:19:06 -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-0000va-Kk for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:03 -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-0007yw-CJ 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-0006UZ-7m for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60835] [PATCH v4 4/8] gnu: Add cl-special-functions. 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.167408391024867 (code B ref 60835); Wed, 18 Jan 2023 23:19:03 +0000 Received: (at 60835) by debbugs.gnu.org; 18 Jan 2023 23:18:30 +0000 Received: from localhost ([127.0.0.1]:42053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhO-0006Sv-9J for submit@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:30 -0500 Received: from mx1.dismail.de ([78.46.223.134]:46581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhK-0006Ri-W8 for 60835@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:27 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id f1fd5b7e for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:24 +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=MfVW9/RHEfhqcVTU7ZnPz YMwMp4cLn2S6oVVvK2o8Hs=; b=YBFFEituCt1Z1AX3RTUZyv0R54lljn+X6gv60 0dbPJ2YbD4EAvJGZLNPcQZ9y8irO+cn+zMcztF4pVIKKJ+kEaTlUX6qVZu+roPXT j/ffJn46dVeeMHDdnr+Zmf9cVJdXse9zDHD48mfcBAQVD14hTDB1lv9N9FLyCRLH iZjpeQhrVa9UR2W4IuCJcJNCtnYazDO9qZ8e7kkgmLFB+U0BTX4nTjOtDhA+qp4F jb3Oe54e1Z4zKVOte8O8gLEKOmZ1LO9yqyU1EYHuI9I81t7/e0Rb0Vvx1P/4RJZD PQmCRKb0/TqMYRsG0woxLKIo8OZbq9YIHhiiWFEzhTFY0n5eQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 37e68683 for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:23 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id d21bda30 for <60835@debbugs.gnu.org>; Thu, 19 Jan 2023 00:18:22 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 88ae1d3e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Jan 2023 00:18:21 +0100 (CET) Date: Wed, 18 Jan 2023 17:15:46 -0600 Message-Id: <20230118231548.4609-4-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-special-functions, ecl-special-functions, sbcl-special-functions): New variables. --- gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ff5c8a10e8..c27e3e1650 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -26806,6 +26806,46 @@ (define-public cl-statistics #;(define-public ecl-statistics (sbcl-package->ecl-package sbcl-statistics)) +(define-public sbcl-special-functions + (let ((commit "f3ca2792ff3f8351839c366413da6b1bb2965a58") + (revision "0")) + (package + (name "sbcl-special-functions") + (version (git-version "1.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Lisp-Stat/special-functions") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "092szffy7zfxgrvfck11wnj8l0mgcym13yiafj01ad02lbj1fnnv")))) + (build-system asdf-build-system/sbcl) + (native-inputs (list sbcl-cl-variates sbcl-fiveam sbcl-select)) + (inputs + (list sbcl-alexandria-plus + sbcl-numerical-utilities + sbcl-let-plus + sbcl-float-features + sbcl-conduit-packages)) + (home-page "https://lisp-stat.dev/docs/resources/special-functions/") + (synopsis "Random variates for Common Lisp") + (description "This library implements +@url{http://specialfunctionswiki.org/index.php/Main_Page, special +functions} and has a focus on high accuracy double-float calculations +using the latest algorithms.") + (license license:ms-pl)))) + +(define-public cl-special-functions + (sbcl-package->cl-source-package sbcl-special-functions)) + +(define-public ecl-special-functions + (package + (inherit (sbcl-package->ecl-package sbcl-special-functions)) + ;; https://github.com/Lisp-Stat/special-functions/issues/4 + (arguments (list #:tests? #f)))) + (define-public sbcl-seria (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a") (revision "0"))