[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/40: gnu: Add ocaml-splittable-random.
From: |
guix-commits |
Subject: |
35/40: gnu: Add ocaml-splittable-random. |
Date: |
Tue, 5 Feb 2019 16:34:57 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 5995e6d1042cc8427c2ad9ac8cc78c21f4bbe7a4
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 19:14:02 2019 +0100
gnu: Add ocaml-splittable-random.
* gnu/packages/ocaml.scm (ocaml-splittable-random): New variable.
---
gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 686be3c..2d12d20 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5946,3 +5946,32 @@ functions from type definitions.")
(description "This package installs a ppx-jane executable, which is a ppx
driver including all standard Jane Street ppx rewriters.")
(license license:asl2.0)))
+
+(define-public ocaml-splittable-random
+ (package
+ (name "ocaml-splittable-random")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/splittable_random-v" version
".tar.gz"))
+ (sha256
+ (base32
+ "0l1wbd881mymlnpzlq5q53mmdz3g5d7qjhyc7lfaq1x0iaccn5lc"))))
+ (build-system dune-build-system)
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-ppx-jane" ,ocaml-ppx-jane)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)))
+ (properties `((upstream-name . "splittable_random")))
+ (home-page "https://github.com/janestreet/splittable_random")
+ (synopsis "PRNG that can be split into independent streams")
+ (description "This package provides a splittable pseudo-random number
generator
+(@defn{PRNG}) functions like a PRNG that can be used as a stream of random
+values; it can also be split to produce a second, independent stream of
+random values.
+
+This library implements a splittable pseudo-random number generator that
sacrifices
+cryptographic-quality randomness in favor of performance.")
+ (license license:asl2.0)))
- branch master updated (4aeb7f3 -> 8baa5c8), guix-commits, 2019/02/05
- 40/40: gnu: Add ocaml-core-kernel., guix-commits, 2019/02/05
- 33/40: gnu: Add ocaml-ppx-bin-prot., guix-commits, 2019/02/05
- 24/40: gnu: Add ocaml-ppx-optional., guix-commits, 2019/02/05
- 29/40: gnu: Add ocaml-ppx-expect., guix-commits, 2019/02/05
- 35/40: gnu: Add ocaml-splittable-random.,
guix-commits <=
- 30/40: gnu: Add ocaml-ppx-js-style., guix-commits, 2019/02/05
- 15/40: gnu: Add ocaml-octavius., guix-commits, 2019/02/05
- 38/40: gnu: Add ocaml-spawn., guix-commits, 2019/02/05
- 34/40: gnu: Add ocaml-ppx-jane., guix-commits, 2019/02/05
- 16/40: gnu: Add ocaml-ppx-hash., guix-commits, 2019/02/05
- 27/40: gnu: Add ocaml-ppx-fail., guix-commits, 2019/02/05
- 36/40: gnu: Add ocaml-jane-street-headers., guix-commits, 2019/02/05
- 32/40: gnu: Add ocaml-ppx-base., guix-commits, 2019/02/05
- 28/40: gnu: Add ocaml-ppx-assert., guix-commits, 2019/02/05
- 39/40: gnu: Add ocaml-core., guix-commits, 2019/02/05