summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2023-11-05 21:01:17 +0300
committerLudovic Courtès <ludo@gnu.org>2023-11-25 23:35:02 +0100
commiteea7dffd80f8ff6642846e07d0b23a5075c31cf3 (patch)
tree64dfd23692c391a67e0e13948c9d58c0e69d9209 /gnu/packages
parent3f8d50ecbdcf87d7f6cfeda5b1fddc3d506dd31c (diff)
downloadguix-eea7dffd80f8ff6642846e07d0b23a5075c31cf3.tar.gz
gnu: Add go-golang-org-x-sys-0.8
* gnu/packages/golang.scm (go-golang-org-x-sys-0.8): New variable.
  (go-github-com-quic-go-qtls-go1-20) [propagated-inputs]: Use
  "go-golang-org-x-sys-0.8".

Change-Id: I5e79b909e1f670a20e66bf2a9a06009737c45028
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/golang.scm21
1 files changed, 20 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e8df68de18..7f563b2296 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4092,6 +4092,24 @@ support for low-level interaction with the operating system.")
       (home-page "https://go.googlesource.com/sys")
       (license license:bsd-3))))
 
+;; XXX: This version is required for "go-github-com-quic-go-qtls-go1-20".
+(define-public go-golang-org-x-sys-0.8
+  (let ((commit "ca59edaa5a761e1d0ea91d6c07b063f85ef24f78")
+        (revision "0"))
+    (package
+      (inherit go-golang-org-x-sys)
+      (name "go-golang-org-x-sys")
+      (version (git-version "0.8.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://go.googlesource.com/sys")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1p81niiin8dwyrjl2xsc95136w3vdw4kmj0w3mlh0vh5v134s4xq")))))))
+
 (define-public go-golang-org-x-text
   (package
     (name "go-golang-org-x-text")
@@ -7711,7 +7729,8 @@ implementation of generics.")
      (list
       #:import-path "github.com/quic-go/qtls-go1-20"
       #:go go-1.20))
-    (propagated-inputs (list go-golang-org-x-crypto go-golang-org-x-sys))
+    (propagated-inputs (list go-golang-org-x-crypto
+                             go-golang-org-x-sys-0.8))
     (synopsis "TLS 1.3 for QUIC")
     (description
      "Go standard library TLS 1.3 implementation, modified for QUIC.  For