ipfs: i20160112 -> 0.4.4
- switched from rev to official release - added preBuild to install gx dependencies - removed broken flag Signed-off-by: Maximilian Güntner <code@klandest.in>
This commit is contained in:
parent
84268a561a
commit
24e4d4d76a
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ stdenv, buildGoPackage, fetchFromGitHub, gx, gx-go }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "ipfs-${version}";
|
name = "ipfs-${version}";
|
||||||
version = "i20160112--${stdenv.lib.strings.substring 0 7 rev}";
|
version = "0.4.4";
|
||||||
rev = "7070b4d878baad57dcc8da80080dd293aa46cabd";
|
rev = "d905d485192616abaea25f7e721062a9e1093ab9";
|
||||||
|
|
||||||
goPackagePath = "github.com/ipfs/go-ipfs";
|
goPackagePath = "github.com/ipfs/go-ipfs";
|
||||||
|
|
||||||
@ -11,12 +11,18 @@ buildGoPackage rec {
|
|||||||
owner = "ipfs";
|
owner = "ipfs";
|
||||||
repo = "go-ipfs";
|
repo = "go-ipfs";
|
||||||
inherit rev;
|
inherit rev;
|
||||||
sha256 = "1b7aimnbz287fy7p27v3qdxnz514r5142v3jihqxanbk9g384gcd";
|
sha256 = "06iq7fmq7p0854aqrnmd0f0jvnxy9958wvw7ibn754fdfii9l84l";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ gx gx-go ];
|
||||||
|
|
||||||
|
# Extra build step for gx dependecies
|
||||||
|
preBuild = ''
|
||||||
|
(cd "go/src/${goPackagePath}"; gx install)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A global, versioned, peer-to-peer filesystem";
|
description = "A global, versioned, peer-to-peer filesystem";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user