From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KCC8AIECzmW8MQAAe85BDQ:P1 (envelope-from ) for ; Thu, 15 Feb 2024 13:24:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KCC8AIECzmW8MQAAe85BDQ (envelope-from ) for ; Thu, 15 Feb 2024 13:24:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=IbvX7RnA; 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=1707999872; 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=AofmUDJzWaOthBejtBf89eR4zrfM6uVsQMd58H9moLo=; b=npjuRXlmr08S6S/Y1bFPAghiIHUdLNyNgZQ9hbmVU5sXCZF7c08zHZRpYa+aywQ1P7c7rR khFDBoLyC/dmve4uD2wfFCr6gtAGrN3Q4jCYFaq0T0DDj0OVI/+F7H84mhYk4VZyK4vevy UGUzgLH3LAisgtxS6PJ1/gmZ8dPCzZ5so106N+AVRc/vG290QznUOfvy8FH5pYD5bFU51H 69ypedwf4SVkfOtt9Cdy1e6oQ/U9zk0+4K7yks0SqdwdSFGwlwtLkeSSiFovH6mDp2XphJ reiHmCSJ/oNzC16PS1FaJqAN+LM4F43gBSUlWMCGnWBIFmBwntk0HUK/OyxJMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b=IbvX7RnA; 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=1707999872; a=rsa-sha256; cv=none; b=Rl8szWL8cTfgHhccTcSSyqShfqLUhG/V52b83kj04QzLdwXNICvP+Ycuz3Hgvg1zgVa0yU uo8nYuG6lngk6kTNLpJ3jS2fCtuht5m2O9jEgjTCvuytPPRNUCbXzaedYqX5xuo+4fw0og JEqGXuGAz2CMIuwFfxu5xa4ktj8W9apTw9MFHgR8U2zGz45zCroZ/zICuSOJeHtlQYXXrh lm2r7UmLxsFgjMinSzddP5mGEsxwmo/st0faLkBfbaok6elznCFRE/ArQD2Hajr6XiYsXd Af/1i4OguwsxxRIppDXHH2ZNwNcJaNQP83Kwdh/LH/JmOvCCqd+ee0BdsNfwtw== 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 DA1E55562D for ; Thu, 15 Feb 2024 13:24:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raamt-0002IA-Eo; Thu, 15 Feb 2024 07:24:23 -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 1raams-0002H8-DW for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:22 -0500 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 1raams-0006JF-44 for guix-patches@gnu.org; Thu, 15 Feb 2024 07:24:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raan8-0001h6-Ly; Thu, 15 Feb 2024 07:24:38 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69165] [PATCH v2 06/23] gnu: Add ghc-splitmix-bootstrap-for-9.6 Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Thu, 15 Feb 2024 12:24:38 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69165 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69165@debbugs.gnu.org, 67921@debbugs.gnu.org Cc: Saku Laesvuori , Lars-Dominik Braun X-Debbugs-Original-To: guix-patches@gnu.org, 67921@debbugs.gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun Received: via spool by submit@debbugs.gnu.org id=B.17079998276072 (code B ref -1); Thu, 15 Feb 2024 12:24:38 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2024 12:23:47 +0000 Received: from localhost ([127.0.0.1]:54461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raamJ-0001Zm-8i for submit@debbugs.gnu.org; Thu, 15 Feb 2024 07:23:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:42358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raaO3-0006TL-LW for submit@debbugs.gnu.org; Thu, 15 Feb 2024 06:58:44 -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 1raXSD-000076-0V for guix-patches@gnu.org; Thu, 15 Feb 2024 03:50:49 -0500 Received: from vmi571514.contaboserver.net ([75.119.130.101] helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raXSB-0003lD-5c for guix-patches@gnu.org; Thu, 15 Feb 2024 03:50:48 -0500 Received: from X-kone.org.aalto.fi (unknown [130.233.144.187]) by mail.laesvuori.fi (Postfix) with ESMTPSA id DE39134367A; Thu, 15 Feb 2024 09:51:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1707987083; bh=azhQmk2dAYy5HdQrNemhnNNvIoyC1t8JKKo9YLfLgKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IbvX7RnAEUINiUXDFJXMp8gEwAz2rKUkPUSLuuWg/omKynEdNqrDe2Lpyxg5FcFiW 45Cqrk7saaffhqG3pxiEKa5y0gZPk0uN2bszDOFcCmoakOAfA7XXSipUXhzAG44+83 YH8kReTNDA6FZOlIMOFA4A2wC1cWSa597tnGPFQw= Date: Thu, 15 Feb 2024 10:49:47 +0200 Message-ID: <0b77306b9641fc095a6d8ce755b160afaeda9bff.1707827100.git.saku@laesvuori.fi> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Saku Laesvuori X-ACL-Warn: , Saku Laesvuori via Guix-patches From: Saku Laesvuori 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.68 X-Spam-Score: -6.68 X-Migadu-Queue-Id: DA1E55562D X-Migadu-Scanner: mx13.migadu.com X-TUID: riYxhISzDHFV Message-ID: <20240215084947.Dnj66J9gJjnYkxAMXDvBGqLS1DuvK_43lyfv7gEOrtE@z> * 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 307231e8f3..ce3ca5083d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1601,4 +1601,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.41.0