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
|
@ -536,6 +536,7 @@ example @code{GOPPROF=http,block}.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/apex/log"))
|
||||
(native-inputs
|
||||
(list go-github-com-tj-assert
|
||||
|
@ -566,7 +567,8 @@ require encoding and decoding before fanning-out to handlers.")
|
|||
(hidden-package
|
||||
(package/inherit go-github-com-apex-log
|
||||
(arguments
|
||||
(list #:import-path "github.com/apex/log"
|
||||
(list #:go go-1.23
|
||||
#:import-path "github.com/apex/log"
|
||||
#:test-subdirs #~(list ".")))
|
||||
(propagated-inputs
|
||||
(list go-github-com-fatih-color
|
||||
|
@ -843,6 +845,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
|
||||
|
@ -1596,6 +1599,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")
|
||||
|
@ -2024,7 +2028,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
|
||||
|
@ -2338,6 +2344,7 @@ translation (NAT), proxies, sockets, and transport layer security (TLS).")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/donovanhide/eventsource"))
|
||||
(home-page "https://github.com/donovanhide/eventsource")
|
||||
(synopsis "Server Side Events client and server for Golang")
|
||||
|
@ -2896,6 +2903,7 @@ application's http.Handlers.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/flosch/pongo2/v6"))
|
||||
(native-inputs
|
||||
(list go-gopkg-in-check-v1))
|
||||
|
@ -3268,6 +3276,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
|
||||
|
@ -3666,6 +3675,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
|
||||
|
@ -3820,6 +3830,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")
|
||||
|
@ -3966,6 +3977,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
|
||||
|
@ -4236,7 +4248,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")
|
||||
|
@ -5055,8 +5069,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
|
||||
|
@ -5186,7 +5202,9 @@ about missing required fields, or when pattern validation does not match.")
|
|||
(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))
|
||||
|
@ -5219,6 +5237,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))
|
||||
|
@ -5246,7 +5265,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
|
||||
|
@ -5323,6 +5344,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".
|
||||
|
@ -5495,6 +5517,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
|
||||
|
@ -6095,6 +6118,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")
|
||||
|
@ -7605,6 +7629,7 @@ Border Gateway Protocol}} implementation.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:skip-build? #t
|
||||
#:import-path "github.com/ovn-kubernetes/libovsdb"
|
||||
#:test-flags
|
||||
|
@ -7691,6 +7716,7 @@ also be used to manage your stamp collection.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/pascaldekloe/goe"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
|
@ -7752,6 +7778,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))
|
||||
|
@ -7999,6 +8026,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
|
||||
|
@ -8304,6 +8332,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))
|
||||
|
@ -8338,6 +8367,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
|
||||
|
@ -8362,6 +8392,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
|
||||
|
@ -8468,6 +8499,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"
|
||||
|
@ -8998,6 +9030,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")))
|
||||
|
@ -9614,6 +9647,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
|
||||
|
@ -10056,6 +10090,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")
|
||||
|
@ -10081,6 +10116,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
|
||||
|
@ -10519,6 +10555,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"
|
||||
|
@ -10751,6 +10788,7 @@ It is to used for inputs in other packages.")
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "github.com/zitadel/oidc/v3"
|
||||
#:test-flags
|
||||
#~(list "-skip" (string-join
|
||||
|
@ -10938,6 +10976,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
|
||||
|
@ -11084,6 +11123,7 @@ lists)
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:import-path "go.opencensus.io"
|
||||
#:test-flags
|
||||
#~(list "-skip"
|
||||
|
@ -11939,6 +11979,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
|
||||
|
@ -12165,6 +12206,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"))
|
||||
|
@ -12350,6 +12392,7 @@ carries no encryption keys and cannot decode the traffic that it proxies.")))
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:go go-1.23
|
||||
#:install-source? #f
|
||||
#:import-path "github.com/tomnomnom/gron"))
|
||||
(native-inputs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue