From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yLj1CwF+I2e7hwAA62LTzQ:P1 (envelope-from ) for ; Thu, 31 Oct 2024 12:54:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yLj1CwF+I2e7hwAA62LTzQ (envelope-from ) for ; Thu, 31 Oct 2024 13:54:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dMrIq76u; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=aGQdzLYG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730379265; a=rsa-sha256; cv=none; b=NXnUF5ras1Y9YAlBnIQGomo2rJ247yhTzK2MGeJwsxExpVii8iyclkF27D7pWaO1e1IAT5 UyKRdadeeyTt+uUBmIX7CyEwIqihm0PTB4r9MprhijslDyq8WeJj+ftJErjgm/2OWnqF/0 gqdlTcb0V7k0FpDlstkNVJ+ymDLi/IAEU8fctMjSJqQsowPlmCjQy8lhBSRdQxtqE/Z+7N XQSxNaI33TMZu8VJv4zLKgY1Qk1lcvB5RW+2mghb17eQF6VhQZJ2ZajWI/5lx//rm9S+po 7C/gp/e2Ld+Kazl0YUbRpQshI+lvaFmMgRtvOCtFnkiof+GVdeHe7ZFzhDfPwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dMrIq76u; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=aGQdzLYG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730379265; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9dLMh1D7dBlSTnSoE5fVJkFQjqUzHFDYhXUI1ZT9SwU=; b=iI84VjYfUd1qRXn5A3FZ6sjagb7q+A2EV2PbZZtQt00GJc6dwpNPtLuRU02c3iMp/g+1u+ H2Mf/hpljrCdP95Q16urirybL21VehlnKHzQsGiDOYRqJqd7TgzG/WHE/bIiOPigIFwXD3 DmAPFdj2oA3oZNoCwXJlFWIseZtmDg39stQtytAQKFazfdVcemgur+VZehWRY2rR1nc1m6 hDWyy40gF59xMTAh2Bwwy742N0H3p0zZhXcKUC6c0JGxzDYuqAY5/b6ZHVjhYuz534BYO1 wUTqkR2TUVlVoj/3/UPTmAiiYBqFAPcsCpIof9nTlzO1Ubxz3AET6ePoh1U2xw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6AED7F38F for ; Thu, 31 Oct 2024 13:54:24 +0100 (CET) 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 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 Content-Transfer-Encoding: 8bit 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 From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.95 X-Spam-Score: -2.95 X-Migadu-Queue-Id: E6AED7F38F X-Migadu-Scanner: mx10.migadu.com X-TUID: wXOOZ9TZzdvZ 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 -- 2.46.0