unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#34361] [PATCH 1/4] gnu: Add ocaml-earley.
@ 2019-02-01 19:20 Gabriel Hondet
  2019-02-01 19:31 ` [bug#34361] [PATCH 2/4] gnu: Add ocaml-bindlib Gabriel Hondet
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Gabriel Hondet @ 2019-02-01 19:20 UTC (permalink / raw)
  To: 34361

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]


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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2d33db1c0..59630028e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4727,6 +4727,36 @@ syntax checking on dedukti files.")
      "Part of the Jane Street's PPX rewriters collection.")
     (license license:expat)))
 
+(define-public ocaml-earley
+  (package
+    (name "ocaml-earley")
+    (version "2.0.0")
+    (home-page "https://github.com/rlepigre/ocaml-earley")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append home-page ".git"))
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "18k7bi7krc4bvqnhijz1q0pfr0nfahghfjifci8rh1q4i5zd0xz5"))))
+    (build-system dune-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "make" "tests")
+             #t)))))
+    (synopsis "Parsing library based on Earley Algorithm")
+    (description "Earley is a parser combinator library base on Earley's
+algorithm.  It is intended to be used in conjunction with an OCaml syntax
+extension which allows the definition of parsers inside the language.  There
+is also support for writing OCaml syntax extensions in a camlp4 style.")
+    (license license:cecill-b)))
+
 (define-public ocaml-biniou
  (package
    (name "ocaml-biniou")
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-04 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-01 19:20 [bug#34361] [PATCH 1/4] gnu: Add ocaml-earley Gabriel Hondet
2019-02-01 19:31 ` [bug#34361] [PATCH 2/4] gnu: Add ocaml-bindlib Gabriel Hondet
2019-02-01 19:50 ` [bug#34361] [PATCH 3/4] gnu: Add ocaml-timed Gabriel Hondet
2019-02-02 10:51 ` [bug#34361] [PATCH 4/4] gnu: Add lambdapi Gabriel Hondet
2019-02-13 21:53   ` Julien Lepiller
2019-05-04 19:14 ` bug#34361: closing lambdapi Gabriel Hondet

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).