From patchwork Thu Oct 31 12:46:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69706 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 4AFA627BBEA; Thu, 31 Oct 2024 12:54:25 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 C6E3327BBE2 for ; Thu, 31 Oct 2024 12:54:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6Ug4-0003Jp-QR; Thu, 31 Oct 2024 08:53:28 -0400 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 1t6Ufh-0002pt-45 for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6Ufg-00021Q-Rx for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=9dLMh1D7dBlSTnSoE5fVJkFQjqUzHFDYhXUI1ZT9SwU=; b=dMrIq76uQcJEJ5ZaSB1IatpymggDMeY7gnAW5Og/d6rV7BeqybbsPorUZa455VedUl/YJ7Telr7I/BqwrDRvWoSmycAsWkIvng+eZkSYo2dV7B6kU4NvjWrKVfCvEA6pGaKszX8vPxcpLa7vKhMBUU49gxAYRnsaFjXc07Mi+3uKO3IeeV21jv6OXeKfaroK+TSht4Eilwmv3hkqcQvJqshn6gKD6kMJr5C0in3JPT4W/aVDMktKEN0NHyBLNYlA3txg5mQaxhOJ8ybA+XMmamf3x9IIZTZ3qgh2Ll8EqNSBDH0d6z4PMlY8iJ9wwChkmWDAhP40RroZyPccMb0l5Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6Ufg-0007tT-Mf for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67921] [PATCH v3 07/24] gnu: Add ghc-splitmix-bootstrap-for-9.6 Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Oct 2024 12:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67921 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67921@debbugs.gnu.org Cc: dev@jpoiret.xyz, lars@6xq.net, saku@laesvuori.fi Received: via spool by 67921-submit@debbugs.gnu.org id=B67921.173037912930073 (code B ref 67921); Thu, 31 Oct 2024 12:53:04 +0000 Received: (at 67921) by debbugs.gnu.org; 31 Oct 2024 12:52:09 +0000 Received: from localhost ([127.0.0.1]:41908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Uem-0007op-BW for submit@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:08 -0400 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:51609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Uee-0007nL-AW for 67921@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:01 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.9.167]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4XfP5W1n0xz1hXn for <67921@debbugs.gnu.org>; Thu, 31 Oct 2024 12:51:59 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-wgwrw (unknown [10.111.174.161]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C52091FD55; Thu, 31 Oct 2024 12:51:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-wgwrw with ESMTPSA id 9WTrHG59I2emkgAAoFuPjA (envelope-from ); Thu, 31 Oct 2024 12:51:58 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-101G00493c28993-c742-4e4c-a3c1-8c3e3e397a2e, CD33DFF0435C6B52A7C438D6B876B70D33D893A4) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.214.74.119 Date: Thu, 31 Oct 2024 13:46:46 +0100 Message-ID: <20241031125127.14080-8-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241031125127.14080-1-ngraves@ngraves.fr> References: <20241031125127.14080-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9038442979567067686 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekhedggedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnheptdegkefhteekgfefleehleeggfdufeejteehveelfeejjeelleevudehheevkeefnecuffhomhgrihhnpehhrghskhgvlhhlrdhorhhgnecukfhppeduvdejrddtrddtrddupdektddrvddugedrjeegrdduudelpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeelvdduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=9dLMh1D7dBlSTnSoE5fVJkFQjqUzHFDYhXUI1ZT9SwU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730379119; v=1; b=aGQdzLYGqz37UnICew261ugazVPvSfIa/l/8250Qc084GdyewdRzrEHdACvw2MMU6v9GNC6n pg6ccMQv8vCVQ7nA1xH7aWsP9yf5k3lo3jhTjD/OeTcpm3IzxZBdKu00AzIUTwI0SSYZTnwfbNh dUqiWqn6wYwua5I4iF2RVGqSglVCX9G8OS2EUZAyTMy6phyK4nTpGUBB5muVpQ9zWoPuQ3IISYV PC7uDXc9DPtN0GVj0x3EtBo0ALl9y41Swh2kJVPuNtWmd9Y+lgg/fv3EGWNLh/eJjrH/tDo5Lf4 EpX7PumVurJitSUYCcvnk2Zb01LM59LSgA8qtQcgg/APQ== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves 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 From: Saku Laesvuori * gnu/packages/haskell.scm (ghc-splitmix-bootstrap-for-9.6): New variable. Change-Id: I65584aa893975015dc44491b120636844af801de --- gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index c1a1fa190c..f93e3bf6c7 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1706,4 +1706,36 @@ (define ghc-hashable-bootstrap-for-9.6 combine hash values.") (license license:bsd-3))) +(define ghc-splitmix-bootstrap-for-9.6 + (package + (name "ghc-splitmix-bootstrap") + (version "0.1.0.5") + (source (origin + (method url-fetch) + (uri (hackage-uri "splitmix" version)) + (sha256 + (base32 + "00ihw7vji8ydik7f5lk9iwj21j829lpl22wa4nqz2igg26b7mw4x")))) + (build-system haskell-build-system) + (properties '((upstream-name . "splitmix"))) + (arguments + `(#:tests? #f + #:haskell ,ghc-bootstrap-for-9.6)) + (home-page "http://hackage.haskell.org/package/splitmix") + (synopsis "Fast and splittable pseudorandom number generator") + (description + "This package provides a Pure Haskell implementation of the +SplitMix pseudorandom number generator. SplitMix is a \"splittable\" +pseudorandom number generator that is quite fast: 9 64-bit +arithmetic/logical operations per 64 bits generated. SplitMix is tested +with two standard statistical test suites (DieHarder and TestU01, this +implementation only using the former) and it appears to be adequate for +\"everyday\" use, such as Monte Carlo algorithms and randomized data +structures where speed is important. In particular, it @strong{should not +be used for cryptographic or security applications}, because generated +sequences of pseudorandom values are too predictable (the mixing functions +are easily inverted, and two successive outputs suffice to reconstruct the +internal state).") + (license license:bsd-3))) + ;;; haskell.scm ends here