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

commit 61671cfe7053cb95f42739f3d951820d465369c1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Feb 10 23:49:22 2026 +0000

    gnu: go-github-com-quic-go-qpack: Update to 0.6.0.
    
    * gnu/packages/golang-web.scm (go-github-com-quic-go-qpack): Update to 
0.6.0.
    [arguments] <test-subdirs>: Run all tests.
    [phases]{copy-qifs-specs}: New phase.
    [native-inputs]: Add specification-qifs.
    
    Change-Id: Iaaf912486aeed7673d8acccf5ccad9748f77f232
---
 gnu/packages/golang-web.scm | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index de5d3b1c45..2e26f84ab5 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -12501,25 +12501,36 @@ fork of https://github.com/igungor/go-putio.";)
 (define-public go-github-com-quic-go-qpack
   (package
     (name "go-github-com-quic-go-qpack")
-    (version "0.5.1")
+    (version "0.6.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/quic-go/qpack";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/quic-go/qpack";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0aj0vv89l94y3clhsjcm1ham6mysmls4yhv7602cwlyag61hfrh3"))))
+        (base32 "0gakqzk7z1vh5vr852qwppy3f555pfswbdny3hrg3wm8cd3f3bqh"))))
     (build-system go-build-system)
     (arguments
      (list
       #:import-path "github.com/quic-go/qpack"
-      ;; XXX: integrationtests/interop contains git submodule of
-      ;; <https://github.com/qpackers/qifs>.
-      #:test-subdirs #~(list ".")))
+      #: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-after 'unpack 'copy-qifs-specs
+            (lambda* (#:key import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (copy-recursively
+                 (string-append
+                  #$(this-package-native-input "specification-qifs") "/share")
+                 "interop/qifs")))))))
     (native-inputs
-     (list go-github-com-stretchr-testify))
+     (list go-github-com-stretchr-testify
+           specification-qifs))
     (propagated-inputs
      (list go-golang-org-x-net))
     (home-page "https://github.com/quic-go/qpack";)

Reply via email to