mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
0e25b7c1b6
commit
87661cea77
21 changed files with 163 additions and 23 deletions
|
@ -144,6 +144,7 @@
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:skip-build? #t
|
||||
#:import-path "9fans.net/go"
|
||||
#:test-subdirs #~(list "acme/..."
|
||||
|
@ -561,7 +562,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
|
||||
|
@ -1002,7 +1005,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
|
||||
|
@ -1421,6 +1426,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")
|
||||
|
@ -1754,6 +1760,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")
|
||||
|
@ -1874,6 +1881,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
|
||||
|
@ -2435,6 +2443,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"))
|
||||
|
@ -4462,6 +4471,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
|
||||
|
@ -4853,6 +4863,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
|
||||
|
@ -7166,6 +7178,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")
|
||||
|
@ -7213,6 +7226,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")
|
||||
|
@ -7360,6 +7374,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")))
|
||||
|
@ -7716,6 +7731,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))
|
||||
|
@ -7931,6 +7947,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")
|
||||
|
@ -8028,6 +8045,7 @@ size.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/godbus/dbus"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -8158,6 +8176,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")
|
||||
|
@ -8699,6 +8718,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")
|
||||
|
@ -9670,6 +9690,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"
|
||||
|
@ -10479,6 +10500,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"
|
||||
|
@ -10645,6 +10667,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
|
||||
|
@ -11237,6 +11260,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
|
||||
|
@ -12101,6 +12125,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")
|
||||
|
@ -12670,6 +12695,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")
|
||||
|
@ -12729,6 +12755,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")
|
||||
|
@ -13012,14 +13039,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
|
||||
|
@ -13618,6 +13647,7 @@ https://github.com/syndtr/gocapability.")
|
|||
(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
|
||||
|
@ -14082,6 +14112,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))
|
||||
|
@ -14632,6 +14663,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
|
||||
|
@ -14781,6 +14813,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
|
||||
|
@ -15375,6 +15408,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")
|
||||
|
@ -15559,6 +15593,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")
|
||||
|
@ -15630,7 +15665,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
|
||||
|
@ -15914,6 +15951,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
|
||||
|
@ -15978,6 +16016,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")
|
||||
|
@ -16067,6 +16106,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")
|
||||
|
@ -16091,6 +16131,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
|
||||
|
@ -16691,7 +16732,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:
|
||||
|
@ -17153,6 +17196,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")))
|
||||
|
@ -17484,6 +17528,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")
|
||||
|
@ -17931,6 +17976,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))
|
||||
|
@ -19232,6 +19278,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))
|
||||
|
@ -19391,6 +19438,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")
|
||||
|
@ -20008,6 +20056,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
|
||||
|
@ -20785,6 +20834,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"
|
||||
|
@ -21226,6 +21276,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
|
||||
|
@ -21813,6 +21864,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/..." ".")))
|
||||
|
@ -21887,6 +21939,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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue