(address . guix-patches@gnu.org)
Hello,
this patch updates "go-ipfs" to version 0.14.0.
From 59c78e119ded8a77444652aa9ffe977b076981a5 Mon Sep 17 00:00:00 2001
Message-Id: <59c78e119ded8a77444652aa9ffe977b076981a5.1694771201.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
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(-)
Toggle diff (40 lines)
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 <poptsov.artyom@gmail.com>
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
-----BEGIN PGP SIGNATURE-----
iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmUEKUwZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFfvcvD/4gBjrYqpNCkhjwaj2p1/Qu
rA6HaIaUksRx4QWUz2AkL4e0OjNVS0+FQXfrW3YdCQ0ZgPqDxDX8hS9Yv1/dCoT9
wKLUcyBxmZSG2ygJeeQ9yBgM6hHbBBTFiCYGsoHRDBEo6k6kUu2VIonzMIDLaQtt
pbHmJ5HrKnipj+q4fuFKqJrblacdjsVKBclSI/a6tnJJCoXMVpz/UFBX2vj1kk4q
kvXk95SL5JyvZ4cGh68S/o24f2o/rXCu9iZk0B5bS1HSh2Z1plPORvYHqOj7aHGw
aD5QIvIn5mPd2nWkEke/j4hJeDxYASxilHsEGxCKujImZF2Dg16THR7jqEzKeZ9X
9qgZkFvD/CwPJ2KLoWEiMC+kulF73IyQ697QkTu5LUo7EO05Wuccejb5WiBvVXbr
CX7jKHPZXrTQFixBXLv/yL85Yv/je5Fis1YnDbUGH4SGVvT5BXoEXbgDA/Y3dlny
VkSwLyMIVjE7OHF9FDKr5qaxVAPwyIge4Ois11dPD6Nee4NIk8d2VIgIxkCDyz09
rXg3qdzcfxHFFZH25QLkOT/rIv3wWPYmZq6nWtnr5nzffrQO5YqJN0IP9y1k4z8R
dwKpj7wELf1JWRtWgDqvhfv4KjN4ii+oqzpBjU2NybOVHAzJ8LLVTKOWq/pRwLrD
HbZA5t/BPO3LZzY9tPqW8A==
=jIn2
-----END PGP SIGNATURE-----