summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2023-11-07 23:36:26 +0300
committerLudovic Courtès <ludo@gnu.org>2023-11-25 23:35:03 +0100
commit0ed050f31ae856263b22122d2e0171041dd78edb (patch)
tree377b6c15a1d273a3d54c43e1e3fdb9e3bd7f2f1c /gnu/packages
parent76a5f0eacd08279f2e4330d9d70e4a0c300554a3 (diff)
downloadguix-0ed050f31ae856263b22122d2e0171041dd78edb.tar.gz
gnu: go-github-com-quic-go-quic-go: Update to 0.39.3.
* gnu/packages/golang.scm (go-github-com-quic-go-quic-go): Update to 0.39.3.
  [propagated-inputs]: Rewrite input packages to replace old
  "go-golang-org-x-sys" with "go-golang-org-x-sys-0.8".  Add
  "go-golang-org-x-sys-0.8".

Change-Id: Ia8d9f79d582a8a5a5b0d10638a1a1c00a104b06e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm38
1 files changed, 21 insertions, 17 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 082b445ab8..ead9622d8c 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7791,7 +7791,7 @@ the Go standard library}.")
 (define-public go-github-com-quic-go-quic-go
   (package
     (name "go-github-com-quic-go-quic-go")
-    (version "0.14.4")
+    (version "0.39.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7800,25 +7800,29 @@ the Go standard library}.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "04l3gqbc3gh079n8vgnrsf8ypgv8sl63xjf28jqfrb45v2l73vyz"))))
+                "0acabl3cz48nxpggc5s7fwxpmr5amyi09jygn5m5xxkkbhqs2cxq"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/quic-go/quic-go"
-       ;; XXX More packages required...
-       #:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-repository-path
-           (lambda _
-             (substitute* (find-files "src/github.com/quic-go/quic-go/" ".*\\.go|.*\\.mod")
-               (("lucas-clemente")
-                "quic-go")))))))
+     (list #:import-path "github.com/quic-go/quic-go"
+           ;; XXX More packages required...
+           #:tests? #f
+           #:go go-1.20))
     (propagated-inputs
-     (list go-golang-org-x-crypto
-           go-github-com-cheekybits-genny
-           go-github-com-marten-seemann-chacha20
-           go-github-com-marten-seemann-qtls
-           go-github-com-golang-protobuf-proto))
+     (let ((p (package-input-rewriting
+               `((,go-golang-org-x-sys . ,go-golang-org-x-sys-0.8))
+               #:deep? #true)))
+       (cons go-golang-org-x-sys-0.8
+             (map p
+                  (list go-github-com-quic-go-qtls-go1-20
+                        go-github-com-quic-go-qpack
+                        go-golang-org-x-crypto
+                        go-github-com-cheekybits-genny
+                        go-github-com-marten-seemann-chacha20
+                        go-github-com-golang-protobuf-proto
+                        go-golang-org-x-crypto
+                        go-golang-org-x-exp
+                        go-golang-org-x-net
+                        go-golang-org-x-sync)))))
     (synopsis "QUIC in Go")
     (description "This package provides a Go language implementation of the QUIC
 network protocol.")