guix-devel
[Top][All Lists]
Advanced

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

[PATCH 75/96] gnu: Add ocaml-re


From: Julien Lepiller
Subject: [PATCH 75/96] gnu: Add ocaml-re
Date: Tue, 3 Jan 2017 20:11:56 +0100

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 00eae8e7e..7ad1460c0 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2408,3 +2408,26 @@ first class values representing record fields, and 
additional routines, to get
 and set record fields, iterate and fold over all fields of a record and create
 new record values.")
     (license license:asl2.0)))
+
+(define-public ocaml-re
+  (package
+    (name "ocaml-re")
+    (version "1.7.1")
+    (home-page "https://github.com/ocaml/ocaml-re/";)
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append home-page "/archive/" version ".tar.gz"))
+        (sha256 (base32
+                  "1s3rcr76cgm4p1xmaazc58arkg2lz3zfcp1icm00m6s5ccnkh67b"))))
+    (build-system ocaml-build-system)
+    (native-inputs `(("ounit" ,ocaml-ounit)))
+    (synopsis "Regular expression library for OCaml")
+    (description "Pure OCaml regular expressions with:
+
+- Perl-style regular expressions (module Re_perl)
+- Posix extended regular expressions (module Re_posix)
+- Emacs-style regular expressions (module Re_emacs)
+- Shell-style file globbing (module Re_glob)
+- Compatibility layer for OCaml's built-in Str module (module Re_str)")
+    (license license:expat)))
-- 
2.11.0




reply via email to

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