guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 82b83471e52fd784244ce9a30e1f09a890a52a94
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 8 12:22:35 2025 +0100
gnu: Pin some golang packages to use go-1.23.
After the defult Golang version was set to 1.24 some of the older
packages which had no fresh version started failing on the 'check phase,
this change pins them to go-1.23 helping to resolve the issue.
Go 1.24 requires non-constant format strings to be explicitly handled.
The errors might look like these:
non-constant format string in call to (*testing.common).Errorf
ExampleParseOptionsLifetime refers to unknown identifier:
ParseOptionsLifetime
See <https://tip.golang.org/doc/go1.24#vet>.
Change-Id: Ife5093c4fd98af7cea59abf1a9a29351b66602bb
---
gnu/packages/bioinformatics.scm | 2 ++
gnu/packages/databases.scm | 1 +
gnu/packages/education.scm | 3 ++
gnu/packages/file-systems.scm | 3 +-
gnu/packages/golang-build.scm | 4 ++-
gnu/packages/golang-check.scm | 15 +++++++-
gnu/packages/golang-crypto.scm | 3 ++
gnu/packages/golang-maths.scm | 2 ++
gnu/packages/golang-vcs.scm | 1 +
gnu/packages/golang-web.scm | 49 +++++++++++++++++++++----
gnu/packages/golang-xyz.scm | 77 +++++++++++++++++++++++++++++++++-------
gnu/packages/irc.scm | 2 ++
gnu/packages/linux.scm | 2 +-
gnu/packages/messaging.scm | 2 ++
gnu/packages/password-utils.scm | 2 ++
gnu/packages/syncthing.scm | 1 +
gnu/packages/text-editors.scm | 2 ++
gnu/packages/textutils.scm | 1 +
gnu/packages/version-control.scm | 2 ++
gnu/packages/video.scm | 2 ++
gnu/packages/web-browsers.scm | 2 ++
21 files changed, 156 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8c14bc120c..df482da9a5 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -98,6 +98,7 @@
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gd)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression)
@@ -25400,6 +25401,7 @@ functions.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/biogo/store"))
(propagated-inputs
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b455057711..2729d076ee 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -511,6 +511,7 @@ database later.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:build-flags #~(list "-tags" "external_libzstd")
#:test-flags #~(list "-tags" "external_libzstd"
;; Skip tests requiring git in PATH.
diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm
index 592ade4c63..92596942cd 100644
--- a/gnu/packages/education.scm
+++ b/gnu/packages/education.scm
@@ -47,6 +47,7 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-web)
@@ -113,6 +114,7 @@
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/xalanq/cf-tool"
#:phases
@@ -1126,6 +1128,7 @@ machine, and more.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/exercism/cli/exercism"
#:unpack-path "github.com/exercism/cli"
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index ea32f7ef1f..d0bf671a28 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -472,6 +472,7 @@ is corrupted you'll lose the affected file(s) but not the
whole back-up.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/google/fscrypt"
#:install-source? #f
#:test-flags
@@ -2204,8 +2205,8 @@ memory-efficient.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/oniony/TMSU"
- #:unpack-path "github.com/oniony/TMSU"
#:install-source? #f
#:phases
#~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index 117b16376c..cc12a5dbd7 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -44,7 +44,8 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
- #:use-module (gnu packages gcc))
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages golang))
;;; Commentary:
;;;
@@ -388,6 +389,7 @@ primitives in Go.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/twitchyliquid64/golang-asm"))
(home-page "https://github.com/twitchyliquid64/golang-asm")
(synopsis "Assembler from the Go compiler, in library form")
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 7e8f78d04b..073e84339b 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -303,7 +303,9 @@ test (using testing.TB's @code{TempDir}) and with a few
helper methods.")
"1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/cheekybits/is"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/cheekybits/is"))
(home-page "https://github.com/cheekybits/is")
(synopsis "Mini testing helper for Go")
(description "A mini testing helper for Go.
@@ -445,6 +447,7 @@ strings which may be used in mock tests.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/DATA-DOG/go-sqlmock"
#:phases
#~(modify-phases %standard-phases
@@ -972,6 +975,7 @@ package, but can be used in other contexts too.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/google/gofuzz"
;; Tests fail on 32bit
#:tests? (target-64bit?)))
@@ -1647,6 +1651,7 @@ output capturing, mocking, and much more.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/matryer/is"))
(home-page "https://github.com/matryer/is")
(synopsis "Lightweight testing mini-framework for Golang")
@@ -1735,6 +1740,7 @@ error messages, preserving the order of @code{have}
(actual result) before
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/onsi/ginkgo"
#:test-flags #~(list "-skip" "TestIntegration")))
(propagated-inputs
@@ -1849,6 +1855,7 @@ framework.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/otiai10/mint"))
(home-page "https://github.com/otiai10/mint")
(synopsis "Minimal assertion for Golang testing framework")
@@ -2011,6 +2018,7 @@ GIT_TRACE mechanism.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/smarty/assertions"))
(home-page "https://github.com/smarty/assertions")
(synopsis "Fluent assertion-style functions")
@@ -2109,6 +2117,9 @@ test coverage and has a web user interface that will
refresh automatically.")
(build-system go-build-system)
(arguments
(list
+ ;; See the list of supported Golang versions in
+ ;; <testify/.github/workflows/main.yml>.
+ #:go go-1.23
;; XXX: Tests are shaky on non x86_64 architectures, check if some may
;; be enabled.
#:tests? (target-x86-64?)
@@ -2333,6 +2344,7 @@ customization
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/warpfork/go-testmark"))
(propagated-inputs
(list go-github-com-warpfork-go-fsx))
@@ -2363,6 +2375,7 @@ testmark} format, which itself is a subset of Markdown
format.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/warpfork/go-wish"
#:test-subdirs #~(list "cmp/..." "wishfix" ".")
#:test-flags
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index a8195db9a0..1975c972ae 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -213,6 +213,7 @@ primitives.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/99designs/keyring"
#:test-flags
#~(list "-skip" (string-join
@@ -388,6 +389,7 @@ with its management port enabled.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/blanu/Dust"))
(propagated-inputs
@@ -568,6 +570,7 @@ described at @url{https://xxhash.com/}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/chmduquesne/rollinghash/"
#:phases
#~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-maths.scm b/gnu/packages/golang-maths.scm
index bafd75501c..76dc26c5c8 100644
--- a/gnu/packages/golang-maths.scm
+++ b/gnu/packages/golang-maths.scm
@@ -25,6 +25,7 @@
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build))
;;; Commentary:
@@ -229,6 +230,7 @@ flow into higher precision types from the @code{math.big}
library.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/montanaflynn/stats"
#:phases
#~(modify-phases %standard-phases
diff --git a/gnu/packages/golang-vcs.scm b/gnu/packages/golang-vcs.scm
index 28b3d8fa0c..74dceed8ec 100644
--- a/gnu/packages/golang-vcs.scm
+++ b/gnu/packages/golang-vcs.scm
@@ -231,6 +231,7 @@ using the Git pkt-line format used in various Git
operations.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/jiangxin/goconfig"))
(native-inputs
(list git-minimal/pinned
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index aca1425da6..e9f252887c 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -736,6 +736,7 @@ functions.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/aws/aws-sdk-go"
#:phases
#~(modify-phases %standard-phases
@@ -1489,6 +1490,7 @@ and RFC 5389).")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/cenkalti/backoff/v4"))
(home-page "https://github.com/cenkalti/backoff")
(synopsis "The exponential backoff algorithm in Go")
@@ -1867,7 +1869,9 @@ Any}.")
(base32 "180wnxiim622v17xcnrjrg9g07mg4xizmlxxyrl9p42is0abi9c8"))))
(build-system go-build-system)
(arguments
- (list #:import-path "github.com/coreos/go-oidc"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/coreos/go-oidc"))
(native-inputs
(list go-golang-org-x-net))
(propagated-inputs
@@ -3062,6 +3066,7 @@ Signature headers are to be set (but not both).")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/go-jose/go-jose/v3"))
(native-inputs
(list go-github-com-google-go-cmp
@@ -3460,6 +3465,7 @@ projects.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:embed-files #~(list "jsonschema-draft-04\\.json" "schema\\.json")
#:import-path "github.com/go-openapi/validate"
#:phases
@@ -3614,6 +3620,7 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/gobwas/httphead"))
(home-page "https://github.com/gobwas/httphead")
(synopsis "Tiny HTTP header value parsing library in Golang")
@@ -3760,6 +3767,7 @@ APIs.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/gogo/protobuf"
;; protoc: exec: "protoc-min-version": executable file not found in $PATH
@@ -4030,7 +4038,9 @@ parameters.")
(base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/google/safehtml"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/google/safehtml"))
(propagated-inputs
(list go-golang-org-x-text))
(home-page "https://github.com/google/safehtml")
@@ -4823,8 +4833,10 @@ authenticated identities and their attributes.")
(base32 "1rv495j8j2x6avw5hqpf7rpiakr5gdsx6pv8rfn0ff7vi35zfa62"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/jcmturner/gokrb5/v8"
- #:unpack-path "github.com/jcmturner/gokrb5"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/jcmturner/gokrb5/v8"
+ #:unpack-path "github.com/jcmturner/gokrb5"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
@@ -4926,7 +4938,9 @@ Call}.")
(base32 "1mlgnk0y0d8njx7h66w6bhr95zh2ccg1hxlnm15i2lfh6l58s60q"))))
(build-system go-build-system)
(arguments
- (list #:import-path "github.com/jhillyerd/enmime"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/jhillyerd/enmime"))
(native-inputs
(list go-github-com-go-test-deep
go-github-com-stretchr-testify))
@@ -4959,6 +4973,7 @@ geared towards parsing MIME encoded emails.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/jlaffaye/ftp"))
(native-inputs
(list go-github-com-stretchr-testify))
@@ -4986,7 +5001,9 @@ described in
@url{https://www.rfc-editor.org/rfc/rfc959,RFC 959}.")
(base32 "18zyr9nlywmwp3wpzcjxrgq9s9d2mmc6zg6xhsna00m663nkyc3n"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/jmespath/go-jmespath"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/jmespath/go-jmespath"))
(native-inputs
(list go-github-com-davecgh-go-spew
go-github-com-pmezard-go-difflib
@@ -5063,6 +5080,7 @@ controlled. It is based on netlink messages.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/json-iterator/go"
#:test-flags
;; XXX: Try to skip just "Test_symmetric/map[test.stringKeyType]string".
@@ -5235,6 +5253,7 @@ protocol in Go language.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/labbsr0x/goh"))
(propagated-inputs
@@ -5801,6 +5820,7 @@ fixed.")
go-golang-org-x-text))
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/makeworld-the-better-one/go-gemini"))
(home-page "https://github.com/makew0rld/go-gemini")
(synopsis "Client/server library for the Gemini protocol, in Go")
@@ -7078,6 +7098,7 @@ higher-level API for doing so.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pascaldekloe/goe"
#:phases
#~(modify-phases %standard-phases
@@ -7139,6 +7160,7 @@ API.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/perimeterx/marshmallow"))
(native-inputs
(list go-github-com-go-test-deep))
@@ -7386,6 +7408,7 @@ part of @url{https://github.com/pion, Pion} WebRTC
implementation.")
(base32 "0f9jy80law69zb26rkb6kl6w1c66vdghdrmifhwlmzngb644ihdb"))))
(arguments
(list
+ #:go go-1.23
#:tests? #f ;Tests require network access.
#:import-path "github.com/pion/ice/v3"))
(propagated-inputs
@@ -7691,6 +7714,7 @@ Protocol,SCTP} as specified in
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pion/stun"))
(native-inputs
(list go-github-com-stretchr-testify))
@@ -7725,6 +7749,7 @@ Protocol,SCTP} as specified in
(base32 "0zli55ls5izpr6cw0wj0gy44872xn9rk20i8ay9cfk7j2rb60y60"))))
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pion/stun/v2"))
(propagated-inputs
(list go-github-com-pion-dtls-v2
@@ -7749,6 +7774,7 @@ Protocol,SCTP} as specified in
(base32 "0yavl76y0fida9f1jfdmzdg7rm5jhp6kvdgn3smsf93jad1vbr2x"))))
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pion/stun/v3"))
(propagated-inputs
(list go-github-com-pion-dtls-v3
@@ -7855,6 +7881,7 @@ throughout the @url{https://github.com/pion, Pion}
modules.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pion/turn"
#:test-flags
#~(list "-skip"
@@ -8385,6 +8412,7 @@ protocol.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/quic-go/webtransport-go"
;; Error: "68" is not greater than "80"
#:test-flags #~(list "-skip" "TestDatagrams")))
@@ -8956,6 +8984,7 @@ StatHat} account.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/swaggo/swag"
#:unpack-path "github.com/swaggo/swag"
#:embed-files
@@ -9314,6 +9343,7 @@ encoding library for the MessagePack, CBOR, JSON and the
Binc formats.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/urfave/negroni"))
(home-page "https://github.com/urfave/negroni")
(synopsis "Idiomatic HTTP Middleware for Golang")
@@ -9339,6 +9369,7 @@ tiny,non-intrusive, and encourages use of @code{net/http}
Handlers.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/urfave/negroni/v3"))))
(define-public go-github-com-valyala-fasthttp
@@ -9777,6 +9808,7 @@ programming language.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
;; validation of time strings. only RFC3339 not all of ISO 8601 are
;; valid. expects: false, given true Schema: {"format":"time"} Data:
;; "01:01:01,1111"
@@ -10143,6 +10175,7 @@ Go.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
;; Project provides a Go library and also CLI builds.
#:skip-build? #t
#:import-path
@@ -10289,6 +10322,7 @@ lists)
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "go.opencensus.io"
#:test-flags
#~(list "-skip"
@@ -11110,6 +11144,7 @@ the code or routes.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "maunium.net/go/mautrix"
#:embed-files
#~(list
@@ -11310,6 +11345,7 @@ protocol.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:build-flags #~(list (string-append "-ldflags="
"-X main.lyrebirdVersion="
#$version " -s -w"))
@@ -11478,6 +11514,7 @@ go-github-com-tdewolff-minify-v2 source.")))
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/tomnomnom/gron"))
(native-inputs
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 54440c49f9..b782fd4d7f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -143,6 +143,7 @@
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "9fans.net/go"
#:test-subdirs #~(list "acme/..."
@@ -560,7 +561,9 @@ commands.")
(base32 "1z64yzr2l5j5r5rqi89jk4madn3ak8hw95lva5ra7gnlyhh2vs05"))))
(build-system go-build-system)
(arguments
- (list #:import-path "git.sr.ht/~rockorager/tcell-term"))
+ (list
+ #:go go-1.23
+ #:import-path "git.sr.ht/~rockorager/tcell-term"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
@@ -975,7 +978,9 @@ prompts on terminals supporting ANSI escape sequences.")
(build-system go-build-system)
;; TODO: Build cmd/chroma and cmd/chromad commands.
(arguments
- `(#:import-path "github.com/alecthomas/chroma"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/alecthomas/chroma"))
(native-inputs
(list go-github-com-alecthomas-kong
go-github-com-alecthomas-kong-hcl
@@ -1394,6 +1399,7 @@ environment and runtime configuration.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/AndreasBriese/bbloom"))
(home-page "https://github.com/AndreasBriese/bbloom")
(synopsis "Bitset Bloom filter for Golang")
@@ -1700,6 +1706,7 @@ cluster segmentation algorithm.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/arbovm/levenshtein"))
(home-page "https://github.com/arbovm/levenshtein")
(synopsis "Levenshtein Distance in Golang")
@@ -1820,6 +1827,7 @@ for Go.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/asaskevich/govalidator"
#:phases
#~(modify-phases %standard-phases
@@ -2305,6 +2313,7 @@ based on murmurhash.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
;; This test fails with Go 1.16.
#:test-flags #~(list "-skip" "TestMatch")
#:import-path "github.com/bmatcuk/doublestar"))
@@ -4226,6 +4235,7 @@ parse and compare two semantic version strings.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/coreos/go-systemd/v22"
#:phases
#~(modify-phases %standard-phases
@@ -4575,6 +4585,8 @@ structs in the Go programming language.")
(outputs '("out" "doc"))
(arguments
(list
+ ;; See <https://github.com/d5/tengo/issues/466>.
+ #:go go-1.23
#:import-path "github.com/d5/tengo/v2"
#:phases
#~(modify-phases %standard-phases
@@ -6749,6 +6761,7 @@ also favors portability, and includes support for all
POSIX systems.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/gdey/errors"))
(home-page "https://github.com/gdey/errors")
(synopsis "Augmentation of std @code{errors} library")
@@ -6796,6 +6809,7 @@ library in go standard library.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/ghemawat/stream"))
(home-page "https://github.com/ghemawat/stream")
(synopsis "UNIX pipe-like chained filters")
@@ -6943,6 +6957,7 @@ goroutines.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/go-errors/errors"
;; Stack trace does not contain source line: 'a: b(5)'.
#:test-flags #~(list "-skip" "TestStackFormat")))
@@ -7299,6 +7314,7 @@ professionally translated
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/go-spatial/proj"))
(native-inputs
(list go-github-com-stretchr-testify))
@@ -7514,6 +7530,7 @@ native Go structure.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/gobwas/glob"))
(home-page "https://github.com/gobwas/glob")
(synopsis "Go globbing library")
@@ -7611,6 +7628,7 @@ size.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/godbus/dbus"
#:phases
#~(modify-phases %standard-phases
@@ -7741,6 +7759,7 @@ execution.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/gogs/chardet"))
(home-page "https://github.com/gogs/chardet")
(synopsis "Character set detection for Go")
@@ -8253,6 +8272,7 @@ provides a buffered io.Writer that is flushed at a timed
interval.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/goverter/patherr"))
(home-page "https://github.com/goverter/patherr")
(synopsis "Implementation for Goverter's wrapErrorsUsing")
@@ -9224,6 +9244,7 @@ better way of handling YAML when marshaling to and from
structs.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/itchyny/go-flags"
;; Test is time dependent and not reproducible.
;; -.TH TestMan 1 "1 January 1970"
@@ -10004,6 +10025,7 @@ object, which implements simple error-retrying
functionality.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/jbenet/goprocess"
#:test-flags
#~(list "-short"
@@ -10170,6 +10192,7 @@ text, etc. with a heavy emphasis on customization.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/jessevdk/go-flags"
#:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion")))
(propagated-inputs
@@ -10683,6 +10706,7 @@ resources located relative to the executable file.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/karrick/godirwalk"))
;; To build all examples as a test scenario.
(native-inputs
@@ -11547,6 +11571,7 @@ structure. It's a stable fork of
https://github.com/mndrix/ps.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "layeh.com/gopher-luar"))
(propagated-inputs (list go-github-com-yuin-gopher-lua))
(home-page "https://github.com/layeh/gopher-luar")
@@ -12087,6 +12112,7 @@ generation.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/MakeNowJust/heredoc"))
(home-page "https://github.com/MakeNowJust/heredoc")
(synopsis "Here-documents with indent")
@@ -12146,6 +12172,7 @@ implementing features like:
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/Masterminds/goutils"))
(home-page "https://github.com/Masterminds/goutils/")
(synopsis "Utility functions to manipulate strings")
@@ -12429,14 +12456,16 @@ string.")
"0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/mattn/go-shellwords"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-sh-path
- (lambda* (#:key import-path #:allow-other-keys)
- (substitute* (string-append
- "src/" import-path "/util_posix.go")
- (("/bin/sh") (which "sh"))))))))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/mattn/go-shellwords"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-sh-path
+ (lambda* (#:key import-path #:allow-other-keys)
+ (substitute* (string-append
+ "src/" import-path "/util_posix.go")
+ (("/bin/sh") (which "sh"))))))))
(home-page "https://github.com/mattn/go-shellwords")
(synopsis "Parse lines into shell words")
(description "This package parses text into shell arguments. Based on
@@ -13008,6 +13037,7 @@ parsing.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/moby/sys/mountinfo"
#:unpack-path "github.com/moby/sys"
#:test-flags
@@ -13418,6 +13448,7 @@ Authentication Modules, PAM} application API.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/muesli/cancelreader"))
(propagated-inputs
(list go-golang-org-x-sys))
@@ -13944,6 +13975,7 @@ pretty printed rendering in Golang.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/nlpodyssey/spago"))
(native-inputs
@@ -14066,6 +14098,7 @@ NSQ protocol @url{https://nsq.io/}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/nxadm/tail"))
(propagated-inputs
(list go-github-com-fsnotify-fsnotify
@@ -14484,6 +14517,7 @@ composable way such that accurate error can be reasoned
about.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/orisano/pixelmatch"))
(home-page "https://github.com/orisano/pixelmatch")
(synopsis "Pixelmatch port to Go")
@@ -14641,6 +14675,7 @@ processes.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pborman/getopt"))
(home-page "https://github.com/pborman/getopt")
(synopsis "Getopt style option parsing for Go")
@@ -14712,7 +14747,9 @@ package (which is based off an earlier version of this
package).")
(base32 "1wypjrr1axkrkzp4n5gvams94f2sd7dq1pdpd2i35sgpdz6r2m6g"))))
(build-system go-build-system)
(arguments
- (list #:import-path "github.com/pelletier/go-toml"))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/pelletier/go-toml"))
(propagated-inputs
(list go-github-com-burntsushi-toml
go-github-com-davecgh-go-spew
@@ -14972,6 +15009,7 @@ on top of the standard library @code{flag} package.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pingcap/errors"
#:test-flags
#~(list "-skip" (string-join
@@ -15036,6 +15074,7 @@ Pion}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pkg/diff"))
(home-page "https://github.com/pkg/diff/")
(synopsis "Create and print diffs")
@@ -15125,6 +15164,7 @@
https://en.wikipedia.org/wiki/Extended_file_attributes}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/pmezard/go-difflib/difflib"
#:unpack-path "github.com/pmezard/go-difflib/"))
(home-page "https://github.com/pmezard/go-difflib")
@@ -15149,6 +15189,7 @@
https://en.wikipedia.org/wiki/Extended_file_attributes}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/polydawn/refmt"))
(propagated-inputs
(list go-github-com-go-yaml-yaml
@@ -15688,7 +15729,9 @@ logging.")
(sha256
(base32 "0d1rg1drrfmabilqjjayklsz5d0n3hkf979sr3wsrw92bfbkivs7"))))
(arguments
- (list #:import-path "github.com/russross/blackfriday/v2"))))
+ (list
+ #:go go-1.23
+ #:import-path "github.com/russross/blackfriday/v2"))))
(define-public go-github-com-rwcarlsen-goexif
;; No release or version tag, Golang pseudo version:
@@ -16120,6 +16163,7 @@ and branchless algorithms shine.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "github.com/segmentio/encoding"
#:test-flags #~(list "-skip" "TestUnmarshalFixture|TestDecodeFixture")))
@@ -16451,6 +16495,7 @@ GNU/Linux, this is a proxy for the @command{xdg-open}
command.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/smacker/go-tree-sitter"))
(native-inputs (list go-github-com-stretchr-testify))
(home-page "https://github.com/smacker/go-tree-sitter")
@@ -16898,6 +16943,7 @@ slices, JSON and other data.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/subosito/gotenv"))
(native-inputs
(list go-github-com-stretchr-testify))
@@ -18113,6 +18159,7 @@ weighted moving averages}.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/vmihailenco/msgpack/v4"))
(native-inputs
(list go-gopkg-in-check-v1))
@@ -18272,6 +18319,7 @@ Redis.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/warpfork/go-fsx"))
(home-page "https://github.com/warpfork/go-fsx")
(synopsis "Extended filesystem interface for Golang")
@@ -18889,6 +18937,7 @@ common sequence} values from two arbitrary arrays.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "github.com/yuin/gopher-lua"
#:phases
#~(modify-phases %standard-phases
@@ -19614,6 +19663,7 @@ written in YAML or JSON.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "go.mongodb.org/mongo-driver"
#:test-flags
#~(list "-skip"
@@ -20055,6 +20105,7 @@ APIs may be unstable
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:skip-build? #t
#:import-path "go4.org"
#:test-subdirs
@@ -20642,6 +20693,7 @@ dependencies.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "howett.net/plist"
;; cmd requires gopkg.in/yaml.v1
#:test-subdirs #~(list "internal/..." ".")))
@@ -20716,6 +20768,7 @@ split out here for ease of reuse and maintainability.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "k8s.io/klog/v2"
#:test-flags
#~(list "-skip"
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 075ceca26f..7610cf8e6f 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -73,6 +73,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-web)
@@ -1233,6 +1234,7 @@ seen, tell, and what.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "codeberg.org/emersion/soju"
#:phases
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b99f7d3634..1d8ab13950 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4975,7 +4975,7 @@ from the module-init-tools project.")
(list
;; For the test suite.
cppcheck
- go)))
+ go-1.23)))
(home-page "https://github.com/rfjakob/earlyoom")
(synopsis "Simple out of memory (OOM) daemon for the Linux kernel")
(description "Early OOM is a minimalist out of memory (OOM) daemon that
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index ab23a6df54..f5ea00076b 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -94,6 +94,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression)
@@ -3327,6 +3328,7 @@ designed for experienced users.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
;; It helps to resolve <golang.org/x/net/publicsuffix/table.go:63:12>:
;; pattern data/children: cannot embed irregular file data/children
#:embed-files #~(list "children" "nodes" "text")
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 0353590c68..a577e2227c 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -94,6 +94,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-xyz)
@@ -150,6 +151,7 @@
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/99designs/aws-vault"
#:build-flags
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index aa10511909..f7cbfaceb2 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -65,6 +65,7 @@
(outputs '("out" "utils"))
(arguments
(list
+ #:go go-1.23
#:modules '((srfi srfi-26) ; for cut
(guix build utils)
(guix build go-build-system))
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index b5df2779b7..3fc1f85b93 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -95,6 +95,7 @@
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-xyz)
@@ -179,6 +180,7 @@ extensions over the standard utility.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/zyedidia/micro/v2/cmd/micro"
#:unpack-path "github.com/zyedidia/micro/v2"
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 00c9e56899..7bde48ffe3 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1388,6 +1388,7 @@ formats (e.g. Bibtex, RIS, etc.) using a common XML
intermediate.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/benhoyt/goawk"
#:phases
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index a301ee9917..2655055728 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4284,6 +4284,7 @@ file contents on a remote server.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "git.sr.ht/~ngraves/lfs-s3"))
(inputs (list git-lfs))
(propagated-inputs
@@ -4852,6 +4853,7 @@ developer workflow, and project and release management.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "git.sr.ht/~xenrox/hut"
#:phases
#~(modify-phases %standard-phases
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 23bbe3755a..165e5b4079 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -156,6 +156,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnunet)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages gstreamer)
@@ -3369,6 +3370,7 @@ playlists.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:install-source? #f
#:import-path "github.com/Kethsar/ytarchive"
#:embed-files #~(list "children" "nodes" "text")
diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 5fa8802e31..2082218abb 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -76,6 +76,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnome-xyz)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
@@ -924,6 +925,7 @@ history, and page outlines.")
(build-system go-build-system)
(arguments
(list
+ #:go go-1.23
#:import-path "tildegit.org/sloum/bombadillo"
#:install-source? #f
#:phases