[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/40: gnu: Add ocaml-ppx-bin-prot.
From: |
guix-commits |
Subject: |
33/40: gnu: Add ocaml-ppx-bin-prot. |
Date: |
Tue, 5 Feb 2019 16:34:57 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 7bd4b85e9bbb70687129721c9bdb2cf0576c715c
Author: Julien Lepiller <address@hidden>
Date: Fri Feb 1 19:06:12 2019 +0100
gnu: Add ocaml-ppx-bin-prot.
* gnu/packages/ocaml.scm (ocaml-ppx-bin-prot): New variable.
---
gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c9df13d..cbcb225 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5873,3 +5873,33 @@ from type definitions.")
Note that Base doesn't need ppx to build, it is only used as a
verification tool.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-bin-prot
+ (package
+ (name "ocaml-ppx-bin-prot")
+ (version "0.11.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/ppx_bin_prot.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1h60i75bzvhna1axyn662gyrzhh441l79vl142d235i5x31dmnkz"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; Cyclic dependency with ocaml-ppx-jane
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-bin-prot" ,ocaml-bin-prot)
+ ("ocaml-ppx-here" ,ocaml-ppx-here)
+ ("ocaml-migrate-parsetree" ,ocaml-migrate-parsetree)
+ ("ocaml-ppxlib" ,ocaml-ppxlib)))
+ (properties `((upstream-name . "ppx_bin_prot")))
+ (home-page "https://github.com/janestreet/ppx_bin_prot")
+ (synopsis "Generation of bin_prot readers and writers from types")
+ (description "Generation of binary serialization and deserialization
+functions from type definitions.")
+ (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 <=
- 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, 2019/02/05
- 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