[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/328: gnu: Add ghc-splitmix-bootstrap.
From: |
guix-commits |
Subject: |
45/328: gnu: Add ghc-splitmix-bootstrap. |
Date: |
Sat, 16 Nov 2019 19:32:19 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit cd44808d31197c470a313d450cd98e2662f8fa83
Author: Timothy Sample <address@hidden>
Date: Thu Oct 31 22:59:23 2019 -0400
gnu: Add ghc-splitmix-bootstrap.
* gnu/packages/haskell-xyz.scm (ghc-splitmix-bootstrap): New variable.
---
gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f1e3081..e00883a 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9418,6 +9418,39 @@ splitting lists into parts, akin to the @code{split}
function found in several
mainstream languages.")
(license license:bsd-3)))
+(define-public ghc-splitmix-bootstrap
+ (package
+ (name "ghc-splitmix-bootstrap")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "splitmix/splitmix-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
+ (properties '((hidden? #t)))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f))
+ (inputs
+ `(("ghc-random" ,ghc-random)))
+ (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)))
+
(define-public ghc-statevar
(package
(name "ghc-statevar")
- 24/328: gnu: ghc-setlocale: Update to 1.0.0.9., (continued)
- 24/328: gnu: ghc-setlocale: Update to 1.0.0.9., guix-commits, 2019/11/16
- 28/328: gnu: ghc-fixed: Update to 0.3., guix-commits, 2019/11/16
- 33/328: gnu: ghc-mmorph: Update to 1.1.3., guix-commits, 2019/11/16
- 35/328: gnu: Add ghc-sop-core., guix-commits, 2019/11/16
- 40/328: gnu: ghc-microlens-ghc: Update to 0.4.10., guix-commits, 2019/11/16
- 39/328: gnu: ghc-ansi-terminal: Update to 0.9.1., guix-commits, 2019/11/16
- 48/328: gnu: ghc-syb: Update to 0.7.1., guix-commits, 2019/11/16
- 44/328: gnu: ghc-ansi-wl-pprint: Update to 0.6.9., guix-commits, 2019/11/16
- 49/328: gnu: ghc-intervalmap: Update to 0.6.1.1., guix-commits, 2019/11/16
- 55/328: gnu: ghc-th-expand-syns: Update to 0.4.5.0., guix-commits, 2019/11/16
- 45/328: gnu: Add ghc-splitmix-bootstrap.,
guix-commits <=
- 51/328: gnu: ghc-hs-bibutils: Update to 6.7.0.0., guix-commits, 2019/11/16
- 53/328: gnu: ghc-pqueue: Update to 1.4.1.2., guix-commits, 2019/11/16
- 57/328: gnu: ghc-vector: Update to 0.12.0.3., guix-commits, 2019/11/16
- 70/328: gnu: ghc-hashable-time: Update to 0.2.0.2., guix-commits, 2019/11/16
- 74/328: gnu: ghc-unordered-containers: Update to 0.2.10.0., guix-commits, 2019/11/16
- 78/328: gnu: ghc-concurrent-output: Update to 1.10.11., guix-commits, 2019/11/16
- 83/328: gnu: ghc-void: Update to 0.7.3., guix-commits, 2019/11/16
- 85/328: gnu: ghc-tasty: Update to 1.2.3., guix-commits, 2019/11/16
- 81/328: gnu: ghc-hmatrix: Update to 0.20.0.0., guix-commits, 2019/11/16
- 87/328: gnu: ghc-hspec-meta: Update to 2.6.0., guix-commits, 2019/11/16