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