guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit bb8adc1bece1c43c65b31337bcd727c5f9a2874f
Author: Jason Conroy <[email protected]>
AuthorDate: Sat Jan 10 17:30:20 2026 -0500
gnu: ocaml5: Add ocaml-re.
* gnu/packages/ocaml5.scm (ocaml-re): New variable.
Change-Id: I625c32f2e35dda2bb7f13eb7447b79ad68d863a5
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 9bfffc14fe..a6572a580e 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -667,6 +667,35 @@ to JUnit and other XUnit testing frameworks.")
other XUnit testing frameworks.")
(license license:expat)))
+(define-public ocaml-re
+ (package
+ (name "ocaml5-re")
+ (version "1.10.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml/ocaml-re")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1g0vmpx6ylv8m0w77zarn215pgb4czc6gcpb2fi5da1s307zwr0w"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-seq))
+ (native-inputs (list ocaml-ounit))
+ (home-page "https://github.com/ocaml/ocaml-re/")
+ (synopsis "Regular expression library for OCaml")
+ (description
+ "Pure OCaml regular expressions with:
+@enumerate
+@item Perl-style regular expressions (module Re_perl)
+@item Posix extended regular expressions (module Re_posix)
+@item Emacs-style regular expressions (module Re_emacs)
+@item Shell-style file globbing (module Re_glob)
+@item Compatibility layer for OCaml's built-in Str module (module Re_str)
+@end enumerate")
+ (license license:expat)))
+
(define-public ocaml5.3-dune-bootstrap
(package
(name "ocaml5.3-dune")