From a5c24f6511e1f2652531dd6aaabf1c2c3d5ac6e5 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Mon, 13 Dec 2021 16:41:43 +0100 Subject: [PATCH] gnu: go-ipfs: Update to 0.11.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ipfs.scm (go-ipfs): Update to 0.11.0. Signed-off-by: Ludovic Courtès --- gnu/packages/ipfs.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 51808bdd51..f566b850aa 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -25,7 +25,9 @@ #: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 @@ written in 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 @@ written in Go.") "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,8 @@ written in Go.") (for-each make-file-writable (find-files out "\\.gz$")) #t)))))) + (native-inputs + (list python-minimal-wrapper 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