[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49101] [PATCH 4/4] gnu: Add ocaml-pcre.
From: |
Xinglu Chen |
Subject: |
[bug#49101] [PATCH 4/4] gnu: Add ocaml-pcre. |
Date: |
Fri, 18 Jun 2021 21:03:16 +0200 |
* gnu/packages/ocaml.scm (ocaml-pcre): 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 afdce121bd..3d27f91e0e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6799,6 +6799,36 @@ support for Mparser.")))
(description "This package provides PCRE-based regular expressions
support for Mparser.")))
+(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)))
+ (native-inputs `(("pcre" ,pcre)))
+ (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 lablgtk3
(package
(name "lablgtk")
--
2.32.0
- [bug#49101] [PATCH 0/4] Add ocaml-mparser & friends, Xinglu Chen, 2021/06/18
- [bug#49101] [PATCH 3/4] gnu: Add ocaml-mparser-pcre., Xinglu Chen, 2021/06/18
- [bug#49101] [PATCH 1/4] gnu: Add ocaml-mparser., Xinglu Chen, 2021/06/18
- [bug#49101] [PATCH 4/4] gnu: Add ocaml-pcre.,
Xinglu Chen <=
- [bug#49101] [PATCH 2/4] gnu: Add ocaml-mparser-re., Xinglu Chen, 2021/06/18
- [bug#49101] [PATCH 0/4] Add ocaml-mparser & friends, Julien Lepiller, 2021/06/18
- [bug#49101] [PATCH v2 0/5] Add ocaml-mparser & firends, Xinglu Chen, 2021/06/19
- [bug#49101] [PATCH v2 2/5] gnu: ocaml4.07-expect: Switch to default OCaml compiler., Xinglu Chen, 2021/06/19