From patchwork Mon Feb 10 16:27:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Hinsen X-Patchwork-Id: 20211 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 4343017B7E; Mon, 10 Feb 2020 19:42:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id AA80917B3B for ; Mon, 10 Feb 2020 19:42:16 +0000 (GMT) Received: from localhost ([::1]:37948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Ewi-0003RZ-4Q for patchwork@mira.cbaines.net; Mon, 10 Feb 2020 14:42:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45196) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1EwX-0003Q6-Pq for guix-patches@gnu.org; Mon, 10 Feb 2020 14:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1EwW-0003R6-NI for guix-patches@gnu.org; Mon, 10 Feb 2020 14:42:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1EwU-0003MY-SD for guix-patches@gnu.org; Mon, 10 Feb 2020 14:42:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1EwU-0001x0-OU for guix-patches@gnu.org; Mon, 10 Feb 2020 14:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39549] [PATCH] gnu: Add cl-randist. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 Feb 2020 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39549@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15813636877434 (code B ref -1); Mon, 10 Feb 2020 19:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 19:41:27 +0000 Received: from localhost ([127.0.0.1]:55446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1Evv-0001vq-Cs for submit@debbugs.gnu.org; Mon, 10 Feb 2020 14:41:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:46655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1Evt-0001vi-GY for submit@debbugs.gnu.org; Mon, 10 Feb 2020 14:41:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43405) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Evn-0003M3-Vj for guix-patches@gnu.org; Mon, 10 Feb 2020 14:41:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1Evm-0002Hh-TW for guix-patches@gnu.org; Mon, 10 Feb 2020 14:41:19 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:59963) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1Evm-0002GM-Jp for guix-patches@gnu.org; Mon, 10 Feb 2020 14:41:18 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EC3C8220CB; Mon, 10 Feb 2020 14:41:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 10 Feb 2020 14:41:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=UV8asa2YkXcJwKlXNUc0tQ9+4yHJMLcf148/3rGlNWw=; b=LzOmdxwj iDmDPxjom93F+wWFfctwdYKKK7S+pDK7EJk9FX2QWwt2PgQoRxqoAXcsF8fSEoEi t995iVySiYYglWIfquJ4KJkicCF1zKjBy05BamLplEz6NsFgHuE98cBuzHUP/Eno jgUZ3Xs70WUU+ZcnTWQk8+9TnhZr07uEKM2feibfa/wVe7BqczwrtyFhSAm7GVpq ldzdpXmWTBIDsUuw5pjEWfR2vqMnbibPr/sgOFU6ARcH41EYDXe471y5HNMh9/HX ebgnt3L3DDD/Rko2qVmIKEzy9aWu22wsbPi7OelG/vO9dzSdlp0iP7zbKXRYhu3W MCfvfbJnyV17cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=UV8asa2YkXcJwKlXNUc0tQ9+4yHJM Lcf148/3rGlNWw=; b=VGosW9NmDSwc7AsKFuO2RlgUCchZbDOy7qit0eTyivmbw a4vBFxk0KRAybkelLZER8EMfhlvDMEYO7kIoolF4X76d1rELn+tN9meQKopmGbW5 fOB0fSXBy9c89Tk/H8uJDadBbS8x/iPwZ4bbqpW20UsmuULMq4wZbxqw7zFc7xtL yWg/ecPNGtEVbC0mt1thtp1VBjACNXppg/dr8/XmEowYKq5zUZGExr4o+JnbzvuW ZIs+RxGvLtlvqQf1lrNGT0leiDv7GmjlYPFkzUK7JW0dgXrY+81lJYwtHnHQrSal NdKYvFPUtgNWHMxv7GY3ItpNpA798NL6mucwYyTIw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedriedugdduudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgv nhesfhgrshhtmhgrihhlrdhnvghtqeenucffohhmrghinhepghhithhhuhgsrdgtohhmne cukfhppeekiedrvdegjedrudeigedrvdegheenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrg hilhdrnhgvth X-ME-Proxy: Received: from khs-macbook.home (lfbn-idf2-1-714-245.w86-247.abo.wanadoo.fr [86.247.164.245]) by mail.messagingengine.com (Postfix) with ESMTPA id 5377230606E9; Mon, 10 Feb 2020 14:41:16 -0500 (EST) From: Konrad Hinsen Date: Mon, 10 Feb 2020 17:27:00 +0100 Message-ID: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-cl-randist, cl-randist, ecl-cl-randist): New variables. --- gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d361c7d5ab..5c97f37d48 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -10238,3 +10238,35 @@ them as PNG files.") (define-public ecl-hdf5-cffi (sbcl-package->ecl-package sbcl-hdf5-cffi)) + +(define-public sbcl-cl-randist + (package + (name "sbcl-cl-randist") + (version "0.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lvaruzza/cl-randist.git") + (commit "f088a54b540a7adefab7c04094a6103f9edda3d0"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l8hyd6nbxb7f50vyxz3rbbm7kgr1fnadc40jywy4xj5vi5kpj5g")))) + (build-system asdf-build-system/sbcl) + (synopsis "Random distributions for Common Lisp") + (description + "Manual translation from C to Common Lisp of some random number +generation functions from the GSL library.") + (home-page "https://github.com/lvaruzza/cl-randist") + (license license:bsd-2) + (arguments + `(#:asd-system-name "cl-randist" + #:asd-file "cl-randist.asd" + #:tests? #f)))) + +(define-public cl-randist + (sbcl-package->cl-source-package sbcl-cl-randist)) + +(define-public ecl-cl-randist + (sbcl-package->ecl-package sbcl-cl-randist))