guix-commits
[Top][All Lists]
Advanced

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

08/16: gnu: Add ocaml-gen.


From: guix-commits
Subject: 08/16: gnu: Add ocaml-gen.
Date: Sat, 30 Nov 2019 09:51:48 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 5a4003f453ee8afdfe21d959e105250bfc876063
Author: Julien Lepiller <address@hidden>
Date:   Wed Nov 27 21:33:57 2019 +0100

    gnu: Add ocaml-gen.
    
    * gnu/packages/ocaml.scm (ocaml-gen): 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 4dd8aa6..75e6620 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2000,6 +2000,31 @@ representation of the data.")
     (description "Lexer generator for Unicode and OCaml.")
     (license license:expat)))
 
+(define-public ocaml-gen
+  (package
+    (name "ocaml-gen")
+    (version "0.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri "https://github.com/c-cube/gen/archive/0.5.2.tar.gz";)
+              (sha256
+               (base32
+                "01hvvynh580zxsaqg12md8m17rda0l33avjv00pij44ql6676il2"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:tests? #f; no tests
+       #:package "gen"))
+    (propagated-inputs
+     `(("ocaml-odoc" ,ocaml-odoc)))
+    (native-inputs
+     `(("ocaml-qtest" ,ocaml-qtest)
+       ("ocaml-qcheck" ,ocaml-qcheck)))
+    (home-page "https://github.com/c-cube/gen/";)
+    (synopsis "Iterators for OCaml, both restartable and consumable")
+    (description "Gen implements iterators of OCaml, that are both restartable
+and consumable.")
+    (license license:bsd-2)))
+
 (define-public ocaml-uchar
   (package
     (name "ocaml-uchar")



reply via email to

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