[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom. |
Date: |
Mon, 10 May 2021 05:16:21 +0000 |
* gnu/packages/ocaml.scm (ocaml-angstrom): New variable.
---
gnu/packages/ocaml.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e91c2e14b3..24bfb8cf37 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6833,3 +6833,40 @@ these missing pieces.")
"This packages backports new features of the language to older
compilers, such as let+.")
(license license:expat)))
+
+(define-public ocaml-angstrom
+ (package
+ (name "ocaml-angstrom")
+ (version "0.15.0")
+ (home-page "https://github.com/inhabitedtype/angstrom")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hmrkdcdlkwy7rxhngf3cv3sa61cznnd9p5lmqhx20664gx2ibrh"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; Only build the base angstrom package.
+ '(#:package "angstrom"
+ #:test-target "."))
+ (propagated-inputs
+ `(("ocaml-bigstringaf" ,ocaml-bigstringaf)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)
+ ("ocaml-ppx-let" ,ocaml-ppx-let)
+ ("ocaml-syntax-shims" ,ocaml-syntax-shims)))
+ (synopsis "Parser combinators built for speed and memory-efficiency")
+ (description
+ "Angstrom is a parser-combinator library that makes it easy to write
+efficient, expressive, and reusable parsers suitable for high-performance
+applications. It exposes monadic and applicative interfaces for composition,
+and supports incremental input through buffered and unbuffered interfaces.
+Both interfaces give the user total control over the blocking behavior of
+their application, with the unbuffered interface enabling zero-copy IO.
+Parsers are backtracking by default and support unbounded lookahead.")
+ (license license:bsd-3)))
--
2.31.1
- [bug#47768] [PATCH v2 12/43] gnu: Add ocaml-ppxlib., (continued)
- [bug#47768] [PATCH v2 12/43] gnu: Add ocaml-ppxlib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 20/43] gnu: Add ocaml-ppx-here., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 11/43] gnu: ocaml-migrate-parsetree: Update to 2.1.0., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 21/43] gnu: Add ocaml-ppx-cold., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 30/43] gnu: Add ocaml-ppx-optcomp, pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 22/43] gnu: Add ocaml-ppx-assert., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 32/43] gnu: Add ocaml-jst-config., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 34/43] gnu: Add ocaml-time-now., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 25/43] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 36/43] gnu: Add ocaml-angstrom.,
pukkamustard <=
- [bug#47768] [PATCH v2 35/43] gnu: Add ocaml-ppx-inline-test., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri., pukkamustard, 2021/05/10