guix-devel
[Top][All Lists]
Advanced

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

[PATCH 50/96] gnu: Add ocaml-ppx-optcomp


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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3a9a8de13..78bd4db6f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1887,3 +1887,22 @@ It contains:
 - helpers for matching AST fragments
 - a framework for dealing with attributes and extension points.")
     (license license:asl2.0)))
+
+(define-public ocaml-ppx-optcomp
+  (package
+    (name "ocaml-ppx-optcomp")
+    (version "113.33.03")
+    (home-page "https://github.com/janestreet/ppx_optcomp/";)
+    (source (janestreet-origin "ppx_optcomp" version
+               "13an8p2r7sd0d5lv54mlzrxdni47408bwqi3bjcx4m6005170q30"))
+    (build-system ocaml-build-system)
+    (native-inputs `(("js-build-tools" ,ocaml-js-build-tools)
+                     ("opam" ,opam)))
+    (propagated-inputs `(("ppx-tools" ,ocaml-ppx-tools)
+                         ("ppx-core" ,ocaml-ppx-core)))
+    (arguments janestreet-arguments)
+    (synopsis "Optional compilation for OCaml")
+    (description "ppx_optcomp stands for Optional Compilation.  It is a tool
+used to handle optional compilations of pieces of code depending of the word
+size, the version of the compiler, ...")
+    (license license:asl2.0)))
-- 
2.11.0




reply via email to

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