guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 4473da4caad6dcd325356194023880dc496c6cc6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Feb 11 00:38:06 2026 +0000
gnu: go-github-com-quic-go-quic-go: Update to 0.59.0.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go): Update to
0.59.0.
[arguments] <test-flags>: Skip one test.
[phases]{go-generate}: New phase.
{pre-check}: Provide extra environment variables to fix tests.
[propagated-inputs]: Remove go-github-com-francoispqt-gojay,
go-github-com-prometheus-client-golang, go-golang-org-x-exp, and
go-golang-org-x-tools.
Change-Id: Iab2746eca2f64f4f448589550af71a4b36559883
---
gnu/packages/golang-web.scm | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2e26f84ab5..3bbd241bbd 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -12546,7 +12546,7 @@ implementation in the Go standard library}.")
(define-public go-github-com-quic-go-quic-go
(package
(name "go-github-com-quic-go-quic-go")
- (version "0.54.1")
+ (version "0.59.0")
(source
(origin
(method git-fetch)
@@ -12555,7 +12555,7 @@ implementation in the Go standard library}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "025klj0pvnz5c1gbz4i3wb8fxbnyf4q5vz08l7xa7204qzl5njlk"))
+ (base32 "0yj7l75my9nv24lv52g3mmj8bc4fhgrxkgrzvlmf79sgqlpjs51c"))
(modules '((guix build utils)))
(snippet
#~(begin
@@ -12567,28 +12567,35 @@ implementation in the Go standard library}.")
(arguments
(list
#:import-path "github.com/quic-go/quic-go"
+ #:test-flags
+ ;; Error: Should NOT be empty, but was []
+ #~(list "-skip" "TestHandshakePacketBuffering")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
(lambda* (#:key tests? import-path #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
(delete-file-recursively "example"))))
+ (add-before 'build 'go-generate
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "go" "generate" "-v" "-n" "./..."))))
(add-before 'check 'pre-check
(lambda* (#:key tests? import-path #:allow-other-keys)
+ ;; See: <https://go.dev/blog/synctest>.
+ (setenv "GOEXPERIMENT" "synctest")
+ ;; See: <https://github.com/quic-go/quic-go/issues/5419>.
+ (setenv "GODEBUG" "asynctimerchan=0")
(setenv "TIMESCALE_FACTOR" "10"))))))
(native-inputs
(list go-github-com-stretchr-testify
go-go-uber-org-mock))
(propagated-inputs
- (list go-github-com-francoispqt-gojay
- go-github-com-prometheus-client-golang
- go-github-com-quic-go-qpack
+ (list go-github-com-quic-go-qpack
go-golang-org-x-crypto
- go-golang-org-x-exp
go-golang-org-x-net
go-golang-org-x-sync
- go-golang-org-x-sys
- go-golang-org-x-tools))
+ go-golang-org-x-sys))
(home-page "https://github.com/quic-go/quic-go")
(synopsis "QUIC in Go")
(description