mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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>
This commit is contained in:
parent
f21c70bc9a
commit
a5c24f6511
1 changed files with 9 additions and 4 deletions
|
@ -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,8 @@ (define-public go-ipfs
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue