Subject: [PATCH] gnu: go-ipfs : Update to 0.11.0.
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Mon, 13 Dec 2021 16:41:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ipfs.scm (go-ipfs): Update to 0.11.0.
---
 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 57701991e3..c69e8b04af 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -25,7 +25,9 @@ (define-module (gnu packages ipfs)
   #:use-module (guix git-download)
   #:use-module (guix download)
   #:use-module (guix build-system go)
-  #:use-module (gnu packages golang))
+  #:use-module (gnu packages golang)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages shells))
 
 (define-public go-github-com-ipfs-go-ipfs-cmdkit-files
   (let ((commit
@@ -214,7 +216,7 @@ (define-public gx-go
 (define-public go-ipfs
   (package
     (name "go-ipfs")
-    (version "0.8.0")
+    (version "0.11.0")
     (source
      (origin
        (method url-fetch/tarbomb)
@@ -222,12 +224,13 @@ (define-public go-ipfs
              "https://dist.ipfs.io/go-ipfs/v" version
              "/go-ipfs-source.tar.gz"))
        (sha256
-        (base32 "0k2qzlfz8ks9c70rxsy7jvk6d2s6yll1b8v9k2kcw07r989gxbdq"))
+        (base32 "13pmj83hwpz6mk7x52qn0cjnfqxqw2qri3r0k4b270w3bafcccwm"))
        (file-name (string-append name "-" version "-source"))))
     (build-system go-build-system)
     (arguments
-     '(#:unpack-path "github.com/ipfs/go-ipfs"
+     `(#:unpack-path "github.com/ipfs/go-ipfs"
        #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
+       #:go ,go-1.17
        #:phases (modify-phases %standard-phases
                   (add-before 'reset-gzip-timestamps 'make-files-writable
                     (lambda* (#:key outputs #:allow-other-keys)
@@ -237,6 +240,9 @@ (define-public go-ipfs
                         (for-each make-file-writable
                                   (find-files out "\\.gz$"))
                         #t))))))
+    (native-inputs
+     `(("python" ,python-minimal-wrapper)
+       ("zsh" ,zsh)))
     (home-page "https://ipfs.io")
     (synopsis "Go implementation of IPFS, a peer-to-peer hypermedia protocol")
     (description "IPFS is a global, versioned, peer-to-peer file system.  It
-- 
2.34.0