Subject: [PATCH] gnu: go-ipfs: Update to 0.14.0.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Fri, 15 Sep 2023 12:52:12 +0300

Hello,

this patch updates "go-ipfs" to version 0.14.0.
From 59c78e119ded8a77444652aa9ffe977b076981a5 Mon Sep 17 00:00:00 2001
Message-Id: <59c78e[email-masked]>
From: "Artyom V. Poptsov" <[email-masked]>
Date: Fri, 15 Sep 2023 12:46:35 +0300
Subject: [PATCH] gnu: go-ipfs: Update to 0.14.0.

* gnu/packages/ipfs.scm (go-ipfs): Update to 0.14.0.
  [source]: Change "go-ipfs" to "kubo" in the source link.
  [arguments]: Rename "go-ipfs" to "kubo".
---
 gnu/packages/ipfs.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index 1e4a7cca3a..1bad48de4c 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -221,15 +221,15 @@ (define-public gx-go
 (define-public go-ipfs
   (package
     (name "go-ipfs")
-    (version "0.13.0")
+    (version "0.14.0")
     (source
      (origin
        (method url-fetch/tarbomb)
        (uri (string-append
-             "https://dist.ipfs.io/go-ipfs/v" version
-             "/go-ipfs-source.tar.gz"))
+             "https://dist.ipfs.io/kubo/v" version
+             "/kubo-source.tar.gz"))
        (sha256
-        (base32 "1cx47ais2zn62c0r7lmrpfzia2gjyr61qi8my5wg3pj3dfr0fhkq"))
+        (base32 "0n7nfiymh6knj3h672gdrb24g9vz9j15x3vn6aml2nk7pv9dsy7p"))
        (file-name (string-append name "-" version "-source"))
        (modules '((guix build utils)))
        (snippet '(for-each delete-file-recursively
@@ -282,8 +282,8 @@ (define-public go-ipfs
     (build-system go-build-system)
     (arguments
      (list
-      #:unpack-path "github.com/ipfs/go-ipfs"
-      #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
+      #:unpack-path "github.com/ipfs/kubo"
+      #:import-path "github.com/ipfs/kubo/cmd/ipfs"
       #:phases
       #~(modify-phases %standard-phases
           ;; https://github.com/ipfs/kubo/blob/master/docs/command-completion.md

base-commit: 4c031bb86f2a82c9e37ce37981abc2779fcd8b68
prerequisite-patch-id: a1d5b9f0dd12eb0d494e90f628a060b5bdc27498
-- 
2.34.1

Also "go-ipfs" has been renamed to "kubo" since 0.14.0 in the upstream.
I kept the package name "go-ipfs" for now but the question is how to
gracefully migrate to the new name in the future?  What do yo think?

Thanks,

- avp

-- 
Artyom "avp" Poptsov <[email-masked]>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F