2016-08-29 02:47:38 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-06 01:46:06 +01:00
|
|
|
|
2016-08-29 02:47:38 +01:00
|
|
|
buildGoPackage rec {
|
2016-06-06 01:46:06 +01:00
|
|
|
name = "ipfs-${version}";
|
|
|
|
version = "i20160112--${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "7070b4d878baad57dcc8da80080dd293aa46cabd";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/ipfs/go-ipfs";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ipfs";
|
|
|
|
repo = "go-ipfs";
|
|
|
|
inherit rev;
|
|
|
|
sha256 = "1b7aimnbz287fy7p27v3qdxnz514r5142v3jihqxanbk9g384gcd";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A global, versioned, peer-to-peer filesystem";
|
|
|
|
license = licenses.mit;
|
2016-08-29 02:47:38 +01:00
|
|
|
broken = true;
|
2016-06-06 01:46:06 +01:00
|
|
|
};
|
|
|
|
}
|