>From 51277c4b7d4aac1525cc0ace2fd54ac0bea29f19 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 21 May 2017 16:34:02 +0200 Subject: [PATCH 06/10] gnu: Add ocaml-ppx-sexp-message. * gnu/packages/ocaml.scm (ocaml-ppx-sexp-message): 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 29fbf9cf3..4a1fb4daa 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2760,3 +2760,28 @@ position.") (description "Extensions to printf-style format-strings for user-defined string conversion.") (license license:asl2.0))) + +(define-public ocaml-ppx-sexp-message + (package + (name "ocaml-ppx-sexp-message") + (version "113.33.03") + (source (janestreet-origin "ppx_sexp_message" version + "084w1l3gnyw4ri9vbn7bv9b2xkw1520qczfxpxdarfivdrz8xr68")) + (build-system ocaml-build-system) + (native-inputs + `(("js-build-tools" ,ocaml-js-build-tools) + ("opam" ,opam))) + (propagated-inputs + `(("ppx-driver" ,ocaml-ppx-driver) + ("ppx-here" ,ocaml-ppx-here) + ("ppx-sexp-conv" ,ocaml-ppx-sexp-conv) + ("ppx-tools" ,ocaml-ppx-tools) + ("ppx-core" ,ocaml-ppx-core))) + (arguments janestreet-arguments) + (home-page "https://github.com/janestreet/ppx_sexp_message/") + (synopsis "A ppx rewriter for easy construction of s-expressions") + (description "The aim of ppx_sexp_message is to ease the creation of +s-expressions in OCaml. This is mainly motivated by writing error and debugging +messages, where one needs to construct a s-expression based on various element +of the context such as function arguments.") + (license license:asl2.0))) -- 2.13.0