guix-devel
[Top][All Lists]
Advanced

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

[PATCH 65/96] gnu: Add ocaml-ppx-enumerate


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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b46ace7c2..e9913fa1f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2205,3 +2205,23 @@ variant types.")
     (synopsis "Assert-like extension nodes that raise useful errors on 
failure")
     (description "Assert-like extension nodes that raise useful errors on 
failure.")
     (license license:asl2.0)))
+
+(define-public ocaml-ppx-enumerate
+  (package
+    (name "ocaml-ppx-enumerate")
+    (version "113.33.03")
+    (home-page "https://github.com/janestreet/ppx_enumerate/";)
+    (source (janestreet-origin "ppx_enumerate" version
+              "15g7yfv9wg2h9r6k6q1zrhygmsl4xrfn25mrb0i4czjjivzmxjh4"))
+    (build-system ocaml-build-system)
+    (native-inputs `(("js-build-tools" ,ocaml-js-build-tools)
+                     ("opam" ,opam)))
+    (propagated-inputs `(("ppx-tools" ,ocaml-ppx-tools)
+                         ("ppx-type-conv" ,ocaml-ppx-type-conv)
+                         ("ppx-core" ,ocaml-ppx-core)))
+    (arguments janestreet-arguments)
+    (synopsis "Generate a list containing all values of a finite type")
+    (description "Ppx_enumerate is a ppx rewriter which generates a definition
+for the list of all values of a type (for a type which only has finitely
+many values).")
+    (license license:asl2.0)))
-- 
2.11.0




reply via email to

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