diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-05-21 16:30:34 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-05-25 14:47:48 +0200 |
commit | 5d6d7ab0cfdfac278e7fefdd41c8516e973ffb78 (patch) | |
tree | 1cfc9db71d013fa5f6106de4233bd3d4f573b7b1 /gnu/packages | |
parent | 3674d7df2f9fc7300038058fed758fc40d092f99 (diff) | |
download | guix-5d6d7ab0cfdfac278e7fefdd41c8516e973ffb78.tar.gz |
gnu: Add ocaml-ppx-bin-prot.
* gnu/packages/ocaml.scm (ocaml-ppx-bin-prot): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ocaml.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a39c5399c9..7d6a77d721 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2694,3 +2694,25 @@ ocaml values.") (description "A ppx rewriter that inlines reverse application operators @code{|>} and @code{|!}.") (license license:asl2.0))) + +(define-public ocaml-ppx-bin-prot + (package + (name "ocaml-ppx-bin-prot") + (version "113.33.03") + (source (janestreet-origin "ppx_bin_prot" version + "173kjv36giik11zgfvsbzwfbpr66dm2pcha9vf990jgzh8hqz39h")) + (build-system ocaml-build-system) + (native-inputs + `(("js-build-tools" ,ocaml-js-build-tools) + ("opam" ,opam))) + (propagated-inputs + `(("bin-prot" ,ocaml-bin-prot) + ("ppx-tools" ,ocaml-ppx-tools) + ("ppx-type-conv" ,ocaml-ppx-type-conv) + ("ppx-core" ,ocaml-ppx-core))) + (arguments janestreet-arguments) + (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))) |