mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
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:
parent
4c497d522c
commit
93a7c5d77b
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user