[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/40: gnu: Add ocaml-bin-prot.
From: |
guix-commits |
Subject: |
14/40: gnu: Add ocaml-bin-prot. |
Date: |
Tue, 5 Feb 2019 16:34:54 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit a0584d6c9758456930e243e7e16dd2472d51ddf5
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 17:35:10 2019 +0100
gnu: Add ocaml-bin-prot.
* gnu/packages/ocaml.scm (ocaml-bin-prot): New variable.
---
gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 1fcf119..7887058 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5354,3 +5354,37 @@ variant types.")
(description "Extensions to printf-style format-strings for user-defined
string conversion.")
(license license:asl2.0)))
+
+(define-public ocaml-bin-prot
+ (package
+ (name "ocaml-bin-prot")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ocaml.janestreet.com/ocaml-core/v"
+ (version-major+minor version)
+ "/files/bin_prot-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rsd91gx36prj4whi76nsiz1bzpgal9nzyw3pxdz1alv4ilk2il6"))))
+ (build-system dune-build-system)
+ (inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-ppx-compare" ,ocaml-ppx-compare)
+ ("ocaml-ppx-custom-printf" ,ocaml-ppx-custom-printf)
+ ("ocaml-ppx-fields-conv" ,ocaml-ppx-fields-conv)
+ ("ocaml-ppx-sexp-conv" ,ocaml-ppx-sexp-conv)
+ ("ocaml-ppx-variants-conv" ,ocaml-ppx-variants-conv)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)))
+ (properties `((upstream-name . "bin_prot")))
+ (home-page "https://github.com/janestreet/bin_prot")
+ (synopsis "Binary protocol generator")
+ (description "This library contains functionality for reading and writing
+OCaml-values in a type-safe binary protocol. It is extremely efficient,
+typically supporting type-safe marshalling and unmarshalling of even highly
+structured values at speeds sufficient to saturate a gigabit connection. The
+protocol is also heavily optimized for size, making it ideal for long-term
+storage of large amounts of data.")
+ (license (list
+ license:asl2.0
+ license:bsd-3))))
- 21/40: gnu: Add ocaml-ppx-sexp-value., (continued)
- 21/40: gnu: Add ocaml-ppx-sexp-value., guix-commits, 2019/02/05
- 06/40: gnu: ocaml: Use propagated-inputs., guix-commits, 2019/02/05
- 22/40: gnu: Add ocaml-ppx-sexp-message., guix-commits, 2019/02/05
- 18/40: gnu: Add ocaml-ppx-bench., guix-commits, 2019/02/05
- 09/40: gnu: Add ocaml-variantslib., guix-commits, 2019/02/05
- 20/40: gnu: Add ocaml-typerep., guix-commits, 2019/02/05
- 11/40: gnu: Add ocaml-ppx-sexp-conv., guix-commits, 2019/02/05
- 13/40: gnu: Add ocaml-ppx-custom-printf., guix-commits, 2019/02/05
- 07/40: gnu: Add ocaml-ppx-compare., guix-commits, 2019/02/05
- 04/40: gnu: ocaml-ppx-derivers: Add upstream-name., guix-commits, 2019/02/05
- 14/40: gnu: Add ocaml-bin-prot.,
guix-commits <=
- 10/40: gnu: Add ocaml-ppx-fields-conv., guix-commits, 2019/02/05
- 02/40: import: opam: Fix conditions., guix-commits, 2019/02/05
- 03/40: import: opam: Replace "_" with "-" in imported names., guix-commits, 2019/02/05
- 01/40: gnu: unison: Update to 2.51.1., guix-commits, 2019/02/05
- 05/40: import: opam: Work around janestreet version numbers., guix-commits, 2019/02/05