[Top][All Lists]

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

08/10: gnu: Add ocaml-re.

From: julien lepiller
Subject: 08/10: gnu: Add ocaml-re.
Date: Thu, 25 May 2017 08:48:36 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit f27522d6db86bac64eea7717fb73d6e071f405e1
Author: Julien Lepiller <address@hidden>
Date:   Sun May 21 16:35:58 2017 +0200

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 88d335f..51383f7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2810,3 +2810,29 @@ 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")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "";
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1s3rcr76cgm4p1xmaazc58arkg2lz3zfcp1icm00m6s5ccnkh67b"))))
+    (build-system ocaml-build-system)
+    (native-inputs `(("ounit" ,ocaml-ounit)))
+    (home-page "";)
+    (synopsis "Regular expression library for OCaml")
+    (description "Pure OCaml regular expressions with:
address@hidden Perl-style regular expressions (module Re_perl)
address@hidden Posix extended regular expressions (module Re_posix)
address@hidden Emacs-style regular expressions (module Re_emacs)
address@hidden Shell-style file globbing (module Re_glob)
address@hidden Compatibility layer for OCaml's built-in Str module (module 
address@hidden enumerate")
+    (license license:expat)))

reply via email to

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