guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e73280e41da6fa7ff94cd0acfea2960a46f16c1c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 23 10:56:33 2026 +0100

    gnu: Add go-github-com-go-enry-go-oniguruma.
    
    * gnu/packages/golang-xyz.scm (go-github-com-go-enry-go-oniguruma): New 
variable.
    
    Relates-to: guix/guix!10137
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f49d7a10fb..a2335134ed 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -126,6 +126,7 @@
   #:use-module (gnu packages libedit)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages regex)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages specifications)
   #:use-module (gnu packages xdisorg)
@@ -12676,6 +12677,34 @@ pre-determined intervals.  This is a fork from
 to build @code{delve} - debugger for the Go programming language.")
      (license license:expat))))
 
+(define-public go-github-com-go-enry-go-oniguruma
+  (package
+    (name "go-github-com-go-enry-go-oniguruma")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/go-enry/go-oniguruma";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wlgs5qms988f4q1h30c08f3w7jlnz76dlkp2shf02prgv4qv00f"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/go-enry/go-oniguruma"))
+     (propagated-inputs
+      (list oniguruma))
+    (home-page "https://github.com/go-enry/go-oniguruma";)
+    (synopsis "Super Fast Regex in Go")
+    (description
+     "This package provides a fork of
+@url{https://github.com/moovweb/rubex/tree/go1, moovweb/rubex} - a simple
+regular expression library (based on @url{https://github.com/kkos/oniguruma,
+oniguruma}) that supports Ruby's regex syntax.")
+    (license license:expat)))
+
 (define-public go-github-com-go-errors-errors
   (package
     (name "go-github-com-go-errors-errors")

Reply via email to