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}";
|
2016-10-27 18:46:40 +02:00
|
|
|
version = "0.4.4";
|
|
|
|
rev = "d905d485192616abaea25f7e721062a9e1093ab9";
|
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;
|
|
|
|
sha256 = "0mm1rs2mbs3rmxfcji5yal9ai3v1w75kk05bfyhgzmcjvi6lwpyb";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-06-06 02:46:06 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "go-ipfs";
|
|
|
|
inherit rev;
|
2016-10-27 18:46:40 +02:00
|
|
|
sha256 = "06iq7fmq7p0854aqrnmd0f0jvnxy9958wvw7ibn754fdfii9l84l";
|
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
|
|
|
};
|
|
|
|
}
|