Subject: [bug#70556] [PATCH 2/3] gnu: kubo: Update to 0.28.0.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Wed, 24 Apr 2024 23:03:51 +0300

* gnu/packages/ipfs.scm (kubo): Update to 0.28.0.
[inputs]: Remove go-golang-org-x-exp; add go-github-com-jbenet-go-random,
go-github-com-jbenet-goprocess,
go-github-com-julienschmidt-httprouter,
go-github-com-multiformats-go-multiaddr,
go-github-com-multiformats-go-multibase,
go-github-com-multiformats-go-multiaddr-dns, and
go-golang-org-x-exp-2023.

Change-Id: Id065558905130c7ad0124bcf56e8b38ee6f9656e
---
 gnu/packages/ipfs.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index bcf6fea133..dc8388acfc 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -256,7 +256,7 @@ (define-public gx-go
 (define-public kubo
   (package
     (name "kubo")
-    (version "0.22.0")
+    (version "0.28.0")
     (source
      (origin
        (method url-fetch/tarbomb)
@@ -264,7 +264,7 @@ (define-public kubo
              "https://dist.ipfs.io/kubo/v" version
              "/kubo-source.tar.gz"))
        (sha256
-        (base32 "0p8iaa56lnac1lxnbzp4fbjqzps50z5yqs34szcp53xjq8rmjzjd"))
+        (base32 "01lk6dd2j660rykchc3ggi9cln92cngz5ijlldsaj5mxnajlvbwy"))
        (file-name (string-append name "-" version "-source"))
        (modules '((guix build utils)))
        (snippet '(for-each delete-file-recursively
@@ -321,7 +321,7 @@ (define-public kubo
      (list
       #:unpack-path "github.com/ipfs/kubo"
       #:import-path "github.com/ipfs/kubo/cmd/ipfs"
-      #:go go-1.20
+      #:go go-1.21
       #:phases
       #~(modify-phases %standard-phases
           ;; https://github.com/ipfs/kubo/blob/master/docs/command-completion.md
@@ -355,6 +355,9 @@ (define-public kubo
                   go-github-com-hashicorp-golang-lru
                   go-github-com-hashicorp-golang-lru-v2
                   go-github-com-jackpal-go-nat-pmp
+                  go-github-com-jbenet-go-random
+                  go-github-com-jbenet-goprocess
+                  go-github-com-julienschmidt-httprouter
                   go-github-com-klauspost-compress
                   go-github-com-klauspost-cpuid
                   go-github-com-lucas-clemente-quic-go
@@ -367,6 +370,9 @@ (define-public kubo
                   go-github-com-mitchellh-go-homedir
                   go-github-com-mr-tron-base58
                   go-github-com-multiformats-go-multihash-0.2.3
+                  go-github-com-multiformats-go-multiaddr
+                  go-github-com-multiformats-go-multibase
+                  go-github-com-multiformats-go-multiaddr-dns
                   go-github-com-opentracing-opentracing-go
                   go-github-com-pbnjay-memory
                   go-github-com-pkg-errors
@@ -384,7 +390,7 @@ (define-public kubo
                   go-go-uber-org-multierr
                   go-go-uber-org-zap
                   go-golang-org-x-crypto
-                  go-golang-org-x-exp
+                  go-golang-org-x-exp-2023
                   go-golang-org-x-lint
                   go-golang-org-x-mod
                   go-golang-org-x-net
-- 
2.41.0