summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/holochain-go
diff options
context:
space:
mode:
authorGavin Rogers <gavin.rogers@holo.host>2018-06-28 23:28:53 +0100
committerGavin Rogers <gavin.rogers@holo.host>2018-07-03 20:41:25 +0100
commit93a7c5d77b3b7b1e30377a36dc6385e2137d1463 (patch)
treec728f5b2129b2eb2e355510063a09c0ec9df370d /pkgs/servers/holochain-go
parent4c497d522c6541bf5983cda4dcd47a1e4b5e393b (diff)
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.
Diffstat (limited to 'pkgs/servers/holochain-go')
-rw-r--r--pkgs/servers/holochain-go/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/servers/holochain-go/default.nix b/pkgs/servers/holochain-go/default.nix
index 0a3b8a8c9531..b76c73e06f24 100644
--- a/pkgs/servers/holochain-go/default.nix
+++ b/pkgs/servers/holochain-go/default.nix
@@ -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";
};