guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 51/96] gnu: Add ocaml-ppx-driver


From: Julien Lepiller
Subject: [PATCH 51/96] gnu: Add ocaml-ppx-driver
Date: Tue, 3 Jan 2017 20:11:32 +0100

* gnu/packages/ocaml.scm (ocaml-ppx-driver): New variable.
---
 gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 78bd4db6f..58fd0eb0c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1906,3 +1906,27 @@ It contains:
 used to handle optional compilations of pieces of code depending of the word
 size, the version of the compiler, ...")
     (license license:asl2.0)))
+
+(define-public ocaml-ppx-driver
+  (package
+    (name "ocaml-ppx-driver")
+    (version "113.33.03")
+    (home-page "https://github.com/janestreet/ppx_driver/";)
+    (source (janestreet-origin "ppx_driver" version
+              "011zzr45897j49b7iiybb29k7pspcx36mlnp7nh6pxb8b0ga76fh"))
+    (build-system ocaml-build-system)
+    (native-inputs `(("js-build-tools" ,ocaml-js-build-tools)
+                     ("opam" ,opam)
+                     ("ppx-optcomp" ,ocaml-ppx-optcomp)))
+    (propagated-inputs `(("ppx-optcomp" ,ocaml-ppx-optcomp)
+                                                ("ppx-core" ,ocaml-ppx-core)))
+    (arguments janestreet-arguments)
+    (synopsis "Feature-full driver for OCaml AST transformers")
+    (description "A driver is an executable created from a set of OCaml AST
+transformers linked together with a command line frontend.  The aim is to
+provide a tool that can be used to:
+
+- easily view the pre-processed version of a file, no need to construct a 
complex command line: ppx file.ml will do
+- use a single executable to run several transformations: no need to fork many 
times just for pre-processing
+- improved errors for misspelled/misplaced attributes and extension points.")
+    (license license:asl2.0)))
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]