guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 55b12c4120105594e8c1d2c0f751c49880d36672
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 13 22:25:05 2026 +0000

    gnu: go-github-com-quic-go-webtransport-go: Update to 0.10.0.
    
    * gnu/packages/golang-web.scm (go-github-com-quic-go-webtransport-go): 
Update to 0.10.0.
    [arguments] <go>: Use go-1.25.
    <test-flags>: Run all tests.
    <phases>: Add 'pre-check.
    [propagated-inputs]: Add go-github-com-dunglas-httpsfv.
    [native-inputs]: Remove go-go-uber-org-mock.
    
    Change-Id: I8bdec3fa48de325adf239e137a13d40ad5a6b88e
---
 gnu/packages/golang-web.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 7613adacae..f60f0503ff 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -12939,7 +12939,7 @@ protocol.")
 (define-public go-github-com-quic-go-webtransport-go
     (package
       (name "go-github-com-quic-go-webtransport-go")
-      (version "0.9.0")
+      (version "0.10.0")
       (source
        (origin
          (method git-fetch)
@@ -12948,18 +12948,24 @@ protocol.")
                (commit (string-append "v" version))))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "061mr55dq80kf3422vfranqlfb0416vix3wl7rb78ndmrcgvmr86"))))
+          (base32 "0np42zg6pkflp1hfnl4xbgk3bkfvhm210mbw9qzldwglxh7mql7i"))))
       (build-system go-build-system)
       (arguments
        (list
+        #:go go-1.25
         #:import-path "github.com/quic-go/webtransport-go"
-        ;; Error: "68" is not greater than "80"
-        #:test-flags #~(list "-skip" "TestDatagrams")))
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-before 'check 'pre-check
+              (lambda* (#:key tests? import-path #:allow-other-keys)
+                ;; See: <https://go.dev/blog/synctest>.
+                (setenv "GOEXPERIMENT" "synctest")
+                (setenv "GODEBUG" "asynctimerchan=0"))))))
       (native-inputs
-       (list go-go-uber-org-mock
-             go-github-com-stretchr-testify))
+       (list go-github-com-stretchr-testify))
       (propagated-inputs
-       (list go-github-com-quic-go-quic-go
+       (list go-github-com-dunglas-httpsfv
+             go-github-com-quic-go-quic-go
              go-golang-org-x-exp))
       (home-page "https://github.com/quic-go/webtransport-go";)
       (synopsis "WebTransport implementation based on quic-go")

Reply via email to