gnu: Add ocaml-gen.

* gnu/packages/ocaml.scm (ocaml-gen): New variable.
This commit is contained in:
Julien Lepiller 2019-11-27 21:33:57 +01:00
parent 5696fbd9bd
commit 5a4003f453
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -2000,6 +2000,31 @@ (define-public ocaml-ulex
(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")