[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49101] [PATCH v3 1/6] gnu: Add ocaml-pcre.
From: |
Xinglu Chen |
Subject: |
[bug#49101] [PATCH v3 1/6] gnu: Add ocaml-pcre. |
Date: |
Sat, 19 Jun 2021 17:50:32 +0200 |
* gnu/packages/ocaml.scm (ocaml-pcre): New variable.
---
gnu/packages/ocaml.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a8432ebbfe..542730699e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3086,6 +3086,38 @@ 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.4.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mmottl/pcre-ocaml")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11mck879p5zvkghps4ky8yslm0isgz52d84adl0dmcfxv2ibvcym"))))
+ (build-system dune-build-system)
+ (arguments
+ ;; No tests.
+ '(#:tests? #f))
+ (propagated-inputs
+ `(("dune-configurator" ,dune-configurator)
+ ("pcre" ,pcre)))
+ (native-inputs
+ `(("pcre:bin" ,pcre "bin")))
+ (home-page "https://mmottl.github.io/pcre-ocaml")
+ (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.")
+ ;; With static linking exception
+ (license license:lgpl2.1+)))
+
(define-public ocaml4.07-pcre
(package
(name "ocaml4.07-pcre")
--
2.32.0
- [bug#49101] [PATCH v2 1/5] gnu: ocaml4.07-pcre: Switch to default OCaml compiler., (continued)
[bug#49101] [PATCH v2 4/5] gnu: Add ocaml-mparser-re., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v2 3/5] gnu: Add ocaml-mparser., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v2 5/5] gnu: Add ocaml-mparser-pcre., Xinglu Chen, 2021/06/19
[bug#49101] [PATCH v3 0/6] Add ocaml-mparser & friends, Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 1/6] gnu: Add ocaml-pcre.,
Xinglu Chen <=
- [bug#49101] [PATCH v3 2/6] gnu: ocaml4.07-expect: Switch to default OCaml compiler., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 3/6] gnu: ocaml4.07-pcre: Remove package., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 6/6] gnu: Add ocaml-mparser-pcre., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 4/6] gnu: Add ocaml-mparser., Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v3 5/6] gnu: Add ocaml-mparser-re., Xinglu Chen, 2021/06/19
- bug#49101: [PATCH v3 0/6] Add ocaml-mparser & friends, Julien Lepiller, 2021/06/19