* [bug#72493] [PATCH] gnu: Add onigmo.
@ 2024-08-06 10:42 gemmaro
0 siblings, 0 replies; only message in thread
From: gemmaro @ 2024-08-06 10:42 UTC (permalink / raw)
To: 72493; +Cc: gemmaro
* gnu/packages/textutils.scm (onigmo): New variable.
Change-Id: I7f21f549ec6aff0daf580f441a23dd91be1bb860
---
gnu/packages/textutils.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7deea364d8..55b2e7d676 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -590,6 +590,35 @@ (define-public pfff
as existing hashing techniques, with provably negligible risk of collisions.")
(license license:bsd-3)))
+(define-public onigmo
+ (package
+ (name "onigmo")
+ (version "6.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/k-takata/Onigmo")
+ (commit (string-append "Onigmo-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0m6z61w8b4y8yk63sj9q8jm8a2v4ncrx258k96bn71nmji7rjnq3"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'check 'check-python
+ (lambda _
+ (invoke "make" "pytest"))))))
+ (native-inputs (list autoconf automake libtool ruby python-2))
+ (home-page "https://github.com/k-takata/Onigmo")
+ (synopsis "Regular expression library forked from Oniguruma")
+ (description
+ "Onigmo is a regular expression library forked from Oniguruma. It
+focuses to support new expressions like @code{\\K}, @code{\\R},
+@code{(?(cond)yes|no)} and so on.")
+ (license license:bsd-2)))
+
(define-public oniguruma
(package
(name "oniguruma")
base-commit: 6689a96ce86497299bd29f183b744116fd2d6e32
--
2.45.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-06 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06 10:42 [bug#72493] [PATCH] gnu: Add onigmo gemmaro
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.