guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 5d68740feaad0e38fb9cfe7891cf433708f7b210
Author: Maxim Cournoyer <maxim.courno...@gmail.com>
AuthorDate: Mon Jun 2 08:54:05 2025 +0900

    gnu: go-golang-org-x-text: Update to 0.25.0.
    
    * gnu/packages/golang-build.scm (go-golang-org-x-text): Update to 0.25.0.
    [arguments] <#:test-flags>: New argument.
    
    Change-Id: I11e50e895d05ffc4be8fb43d70d02e2bb22f4ba0
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/golang-build.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 9d8134c25d..edde2d0ffe 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1034,7 +1034,7 @@ terminals, as commonly found on Unix systems.")
 (define-public go-golang-org-x-text
   (package
     (name "go-golang-org-x-text")
-    (version "0.21.0")
+    (version "0.25.0")
     (source
      (origin
        (method git-fetch)
@@ -1043,12 +1043,22 @@ terminals, as commonly found on Unix systems.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "02zh18l5rlr8hg8ipn9r5m4rir3hskp80pzr4ljyfmgy72gxbhlv"))))
+        (base32 "1r9532ml0psfby89agf20q23qzwfikhydl8q77ad5y73xvdx89lf"))))
     (build-system go-build-system)
     (arguments
      (list
       #:skip-build? #t
-      #:import-path "golang.org/x/text"))
+      #:import-path "golang.org/x/text"
+      #:test-flags
+      #~(list "-skip"
+              (string-join
+               (list
+                ;; TestLinking fails with error: "dict_test.go:19: size(base)
+                ;; - size(compact) = 4929873 - 4898852 = was 31021; want >
+                ;; 1.5MB
+                "TestLinking"
+                "TestFullCycle")         ;requires go module support
+               "|"))))
     (home-page "https://go.googlesource.com/text";)
     (native-inputs
      (list go-golang-org-x-mod-bootstrap

Reply via email to