[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH 12/29] gnu: Add ocaml-randomconv.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH 12/29] gnu: Add ocaml-randomconv. |
Date: |
Wed, 4 Aug 2021 07:15:28 +0000 |
* gnu/packages/ocaml.scm (ocaml-randomconv): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 11458d0039..f7956fe216 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7417,6 +7417,31 @@ time duration as an usigned 64 bit integer. This can be
used for conversions
between various time units.")
(license license:isc)))
+(define-public ocaml-randomconv
+ (package
+ (name "ocaml-randomconv")
+ (version "0.1.3")
+ (home-page "https://github.com/hannesm/randomconv")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pzq2zqz5bpy2snsvmn82hg79wfd0lmbbbhmhdvc8k20km86jqy7"))))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-cstruct" ,ocaml-cstruct)))
+ (synopsis "OCaml library for converting random byte vectors to random
numer")
+ (description
+ "This Ocaml library provides functions for converting random byte vectors
+as (C-like structures using @code{ocaml-cstruct}) to OCaml native numbers.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH 07/29] gnu: Add ocaml-conduit., (continued)
- [bug#49867] [PATCH 17/29] gnu: Add ocaml-ppx-deriving., pukkamustard, 2021/08/04
- [bug#49867] [PATCH 16/29] gnu: Add ocaml-asn1-combinators., pukkamustard, 2021/08/04
- [bug#49867] [PATCH 19/29] gnu: Add ocaml-mirage-crypto-ec., pukkamustard, 2021/08/04
- [bug#49867] [PATCH 18/29] gnu: Add ocaml-ppx-deriving-yojson., pukkamustard, 2021/08/04
- [bug#49867] [PATCH 12/29] gnu: Add ocaml-randomconv.,
pukkamustard <=
- [bug#49867] [PATCH 15/29] gnu: Add ocaml-ptime., pukkamustard, 2021/08/04
[bug#49867] [PATCH 25/29] gnu: Add ocaml-lwt-log., pukkamustard, 2021/08/04
[bug#49867] [PATCH 28/29] gnu: Add ocaml-magic-mime., pukkamustard, 2021/08/04
[bug#49867] [PATCH 27/29] gnu: Add ocaml-conduit-lwt-unix., pukkamustard, 2021/08/04