GNU bug report logs - #72493
[PATCH] gnu: Add onigmo.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Tue, 6 Aug 2024 10:44:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 72493 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#72493; Package guix-patches. (Tue, 06 Aug 2024 10:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to gemmaro <gemmaro.dev <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 06 Aug 2024 10:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH] gnu: Add onigmo.
Date: Tue,  6 Aug 2024 19:42:48 +0900
* 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





This bug report was last modified 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.