[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 42/96] gnu: Add ocaml-pcre
From: |
Julien Lepiller |
Subject: |
[PATCH 42/96] gnu: Add ocaml-pcre |
Date: |
Tue, 3 Jan 2017 20:11:23 +0100 |
* gnu/packages/ocaml.scm (ocaml-pcre): 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 2975004b0..09017211c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -52,6 +52,7 @@
#:use-module (gnu packages m4)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages pcre)
#:use-module (gnu packages time)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
@@ -1706,3 +1707,25 @@ tasks in C, C++, OCaml, and LaTeX projects, or a mixture
thereof.")
every compliant installation of OCaml and organize these libraries into a
hierarchy of modules.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-pcre
+ (package
+ (name "ocaml-pcre")
+ (version "7.2.3")
+ (home-page "https://mmottl.github.io/pcre-ocaml/")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/mmottl/pcre-ocaml/archive"
+ "/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rj6dw79px4sj2kq0iss2nzq3rnsn9wivvc0f44wa1mppr6njfb3"))))
+ (build-system ocaml-build-system)
+ (native-inputs `(("batteries" ,ocaml-batteries)
+ ("pcre:bin" ,pcre "bin")))
+ (propagated-inputs `(("pcre" ,pcre)))
+ (synopsis "Bindings to the Perl Compatibility Regular Expressions library")
+ (description "Pcre-ocaml offers library functions for string pattern
+matching and substitution, similar to the functionality offered by the Perl
+language.")
+ (license license:lgpl2.1))); with an exception
--
2.11.0
- [PATCH 32/96] gnu: Add ocaml-xmlm, (continued)
- [PATCH 32/96] gnu: Add ocaml-xmlm, Julien Lepiller, 2017/01/03
- [PATCH 33/96] gnu: Add ocaml-ulex, Julien Lepiller, 2017/01/03
- [PATCH 34/96] gnu: Add ocaml-uchar, Julien Lepiller, 2017/01/03
- [PATCH 35/96] gnu: Add ocaml-uutf, Julien Lepiller, 2017/01/03
- [PATCH 36/96] gnu: Add ocaml-jsonm, Julien Lepiller, 2017/01/03
- [PATCH 37/96] gnu: Add ocaml-ocurl, Julien Lepiller, 2017/01/03
- [PATCH 38/96] gnu: Add ocaml-base64, Julien Lepiller, 2017/01/03
- [PATCH 39/96] gnu: Add ocamlify, Julien Lepiller, 2017/01/03
- [PATCH 41/96] gnu: Add ocaml-batteries, Julien Lepiller, 2017/01/03
- [PATCH 40/96] gnu: Add omake, Julien Lepiller, 2017/01/03
- [PATCH 42/96] gnu: Add ocaml-pcre,
Julien Lepiller <=
- [PATCH 43/96] gnu: Add ocaml-expect, Julien Lepiller, 2017/01/03
- [PATCH 44/96] gnu: Add ocaml-fileutils, Julien Lepiller, 2017/01/03
- [PATCH 45/96] gnu: Add ocaml-oasis, Julien Lepiller, 2017/01/03
- [PATCH 46/96] gnu: Add ocaml-js-build-tools, Julien Lepiller, 2017/01/03
- [PATCH 47/96] gnu: Add ocaml-bin-prot, Julien Lepiller, 2017/01/03
- [PATCH 48/96] gnu: Add ocaml-fieldslib, Julien Lepiller, 2017/01/03
- [PATCH 49/96] gnu: Add ocaml-ppx-core, Julien Lepiller, 2017/01/03
- [PATCH 50/96] gnu: Add ocaml-ppx-optcomp, Julien Lepiller, 2017/01/03
- [PATCH 51/96] gnu: Add ocaml-ppx-driver, Julien Lepiller, 2017/01/03