Cleanup: remove v from version and use fetchFromGithub

More housecleaning, also as per @Mic92. He's right, as it says in the manual, to
use fetchFromGithub instead of fetchgit

> Best: Fetches a snapshot archive and you get the rev you want.
This commit is contained in:
Gavin Rogers 2018-06-28 23:28:53 +01:00
parent 4c497d522c
commit 93a7c5d77b

View file

@ -2,15 +2,16 @@
buildGoPackage rec {
name = "holochain-go${version}";
version = "v0.1.0-alpha";
version = "0.1.0-alpha";
rev = "a17510b910a7a377441c152b8dccdbae1999f63f";
goPackagePath = "github.com/holochain/holochain-proto";
src = fetchgit {
src = fetchFromGithub {
inherit rev;
url = "https://github.com/holochain/holochain-proto";
owner = "holochain";
repo = "holochain-proto";
sha256 = "19l29jnr63ximmyn4i4llv2mdwh306c2mpzmx2anj9z12wjpach0";
};