[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67921] [PATCH v3 07/24] gnu: Add ghc-splitmix-bootstrap-for-9.6
From: |
Nicolas Graves |
Subject: |
[bug#67921] [PATCH v3 07/24] gnu: Add ghc-splitmix-bootstrap-for-9.6 |
Date: |
Thu, 31 Oct 2024 13:46:46 +0100 |
From: Saku Laesvuori <saku@laesvuori.fi>
* 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
- [bug#67921] [PATCH v3 21/24] gnu: Add ghc-shake-bootstrap-for-9.6, (continued)
- [bug#67921] [PATCH v3 21/24] gnu: Add ghc-shake-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 18/24] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 17/24] gnu: Add ghc-base16-bytestring-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 09/24] gnu: Add ghc-primitive-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 16/24] gnu: Add ghc-semigroups-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 06/24] gnu: Add ghc-hashable-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 22/24] gnu: Add hadrian-for-ghc-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 12/24] gnu: Add ghc-heaps-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 13/24] gnu: Add ghc-js-dgtable-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 19/24] gnu: Add ghc-unordered-containers-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 07/24] gnu: Add ghc-splitmix-bootstrap-for-9.6,
Nicolas Graves <=
- [bug#67921] [PATCH v3 05/24] gnu: Add ghc-extra-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 08/24] gnu: Add ghc-random-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 20/24] gnu: Add ghc-filepattern-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 15/24] gnu: Add ghc-tagged-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 03/24] gnu: Add ghc-js-flot-bootstrap-for-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 23/24] gnu: Add ghc-9.6, Nicolas Graves, 2024/10/31
- [bug#67921] [PATCH v3 24/24] gnu: ghc: Update to version 9.6.4, Nicolas Graves, 2024/10/31