2016-10-29 05:19:41 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
|
2016-06-06 02:46:06 +02:00
|
|
|
|
2016-08-29 03:47:38 +02:00
|
|
|
buildGoPackage rec {
|
2016-06-06 02:46:06 +02:00
|
|
|
name = "ipfs-${version}";
|
2017-10-02 20:35:45 +02:00
|
|
|
version = "0.4.11";
|
|
|
|
rev = "v${version}";
|
2016-06-06 02:46:06 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/ipfs/go-ipfs";
|
|
|
|
|
2016-10-29 05:19:41 +02:00
|
|
|
extraSrcPaths = [
|
|
|
|
(fetchgx {
|
|
|
|
inherit name src;
|
2017-10-02 20:35:45 +02:00
|
|
|
sha256 = "1n8xr9xg23wm255zjm7nxd761xapmsv11a0giks2gaibh4nps1jl";
|
2016-10-29 05:19:41 +02:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-06-06 02:46:06 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "go-ipfs";
|
|
|
|
inherit rev;
|
2017-10-02 20:35:45 +02:00
|
|
|
sha256 = "1qi87sq490xpj4mip1d30x4v77gkacnw4idm0mwla92pg44v6wh9";
|
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
|
|
|
};
|
|
|
|
}
|