This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 7fe747bdde gnu: Add go-1.25.
7fe747bdde is described below
commit 7fe747bddeeeb7b66c5a7738665a5a7bda5d6a62
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 21 14:35:22 2025 +0100
gnu: Add go-1.25.
* gnu/packages/golang.scm (go-1.25, go-std-1.25): New variables.
Change-Id: I7e8b7d98e84c83f7a218e9bc42434214fb125d88
Reviewed-by: Efraim Flashner <[email protected]>
---
gnu/packages/golang.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 30409de09d..599c8ac773 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -25,7 +25,7 @@
;;; Copyright © 2020 Martin Becze <[email protected]>
;;; Copyright © 2021, 2022 Ricardo Wurmus <[email protected]>
;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
-;;; Copyright © 2021, 2023 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2021-2025 Sharlatan Hellseher <[email protected]>
;;; Copyright © 2021 Sarah Morgensen <[email protected]>
;;; Copyright © 2021 Raghav Gururajan <[email protected]>
;;; Copyright © 2021 jgart <[email protected]>
@@ -1059,6 +1059,51 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
("powerpc64le" ,@%go-1.17-powerpc64le-micro-architectures)
("x86_64" ,@%go-1.18-x86_64-micro-architectures))))))
+(define-public go-1.25
+ (package
+ (inherit go-1.24)
+ (name "go")
+ (version "1.25.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/golang/go")
+ (commit (string-append "go" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "037gcrl8nagdsq2kv8irx7n0nijjmlqpz0b0zyj482xz2wzar0fs"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments go-1.24)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ ;; There is no real discussion on the issue among humans, a lot
+ ;; of gopherbot updates and it's closed without final resolution.
+ ;; https://github.com/golang/go/issues/73977
+ (add-after 'unpack 'skip-TestSynctest-tests
+ (lambda _
+ (substitute* "src/runtime/synctest_test.go"
+ (("TestSynctest\\(.*" all)
+ (string-append all "\n
t.Skip(\"golang.org/issue/73977\")\n")))))
+ #$@(if (target-aarch64?)
+ '((add-after 'unpack 'skip-shaky-tests-on-aarch64-system
+ (lambda _
+ (substitute* "src/net/mptcpsock_linux_test.go"
+ ;; Kernel specific <2024-08-02>
+ ;; https://github.com/golang/go/issues/68717
+ (("TestMultiPathTCP\\(.*" all)
+ (string-append all "\n
t.Skip(\"golang.org/issue/68717\")\n")))
+ (substitute* "src/sync/atomic/atomic_test.go"
+ ;; QEMU aarch64 emulation related <2021-12-15>
+ ;; https://github.com/golang/go/issues/50188
+ (("TestStoreLoadSeqCst.*" all)
+ (string-append all "\n
t.Skip(\"golang.org/issue/50188\")\n")))
+ (substitute* "src/syscall/syscall_ptrace_test.go"
+ ;; Shaky <2025-10-01>
https://github.com/golang/go/issues/75720
+ (("TestExecPtrace\\(.*" all)
+ (string-append all "\n
t.Skip(\"golang.org/issue/75720\")\n"))))))
+ '())))))))
+
;;
;; Default Golang version used in guix/build-system/go.scm to build packages.
;;
@@ -1104,6 +1149,7 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
(define-public go-std-1.22 (make-go-std go-1.22))
(define-public go-std-1.23 (make-go-std go-1.23))
(define-public go-std-1.24 (make-go-std go-1.24))
+(define-public go-std-1.25 (make-go-std go-1.25))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances