From 5a4003f453ee8afdfe21d959e105250bfc876063 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Wed, 27 Nov 2019 21:33:57 +0100 Subject: gnu: Add ocaml-gen. * gnu/packages/ocaml.scm (ocaml-gen): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/ocaml.scm') diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 4dd8aa68f5..75e66206b1 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") -- cgit v1.2.3