guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any go expert willing to help with updating IPFS?


From: Konrad Hinsen
Subject: Re: Any go expert willing to help with updating IPFS?
Date: Mon, 13 Dec 2021 11:01:10 +0100

Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

> My current package definition is attached.

Well, now it is:

(define-public go-ipfs
  (package
    (name "go-ipfs")
    (version "0.11.0")
    (source
     (origin
       (method url-fetch/tarbomb)
       (uri (string-append
             "https://dist.ipfs.io/go-ipfs/v"; version
             "/go-ipfs-source.tar.gz"))
       (sha256
        (base32 "13pmj83hwpz6mk7x52qn0cjnfqxqw2qri3r0k4b270w3bafcccwm"))
       (file-name (string-append name "-" version "-source"))))
    (build-system go-build-system)
    (arguments
     '(#:unpack-path "github.com/ipfs/go-ipfs"
       #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs"
       #:phases (modify-phases %standard-phases
                  (add-before 'reset-gzip-timestamps 'make-files-writable
                    (lambda* (#:key outputs #:allow-other-keys)
                      ;; Make sure .gz files are writable so that the
                      ;; 'reset-gzip-timestamps' phase can do its work.
                      (let ((out (assoc-ref outputs "out")))
                        (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
combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web.  It is
like a single bittorrent swarm, exchanging git objects.  IPFS provides an
interface as simple as the HTTP web, but with permanence built in.  You can
also mount the world at @code{/ipfs}.")
    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]