summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Hinsen <konrad.hinsen@fastmail.net>2021-12-13 16:41:43 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-18 22:51:55 +0100
commita5c24f6511e1f2652531dd6aaabf1c2c3d5ac6e5 (patch)
treedaa134c5999f4ea8f50697bc8ca9757fed40a0fa
parentf21c70bc9a41d000acf7d39a0813a3c7415517ca (diff)
gnu: go-ipfs: Update to 0.11.0.
* gnu/packages/ipfs.scm (go-ipfs): Update to 0.11.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/ipfs.scm13
1 files 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