2019-06-10 03:47:55 +02:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2016-06-06 02:46:06 +02:00
|
|
|
|
2019-06-10 03:47:55 +02:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ipfs";
|
|
|
|
version = "0.4.21";
|
2017-10-02 20:35:45 +02:00
|
|
|
rev = "v${version}";
|
2016-06-06 02:46:06 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ipfs/go-ipfs";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "go-ipfs";
|
|
|
|
inherit rev;
|
2019-06-10 03:47:55 +02:00
|
|
|
sha256 = "0jlj89vjy4nw3x3j45r16y8bph5ss5lp907pjgqvad0naxbf99b0";
|
2016-06-06 02:46:06 +02:00
|
|
|
};
|
|
|
|
|
2019-06-10 03:47:55 +02:00
|
|
|
modSha256 = "0d9rq0hig9jwv9jfajfyj2111arikqzdnyhf5aqkwahcblpx54iy";
|
|
|
|
|
2016-06-06 02:46:06 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A global, versioned, peer-to-peer filesystem";
|
2016-10-29 05:19:41 +02:00
|
|
|
homepage = https://ipfs.io/;
|
2016-06-06 02:46:06 +02:00
|
|
|
license = licenses.mit;
|
2016-10-29 05:19:41 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2016-06-06 02:46:06 +02:00
|
|
|
};
|
|
|
|
}
|