Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is

a tag
This commit is contained in:
Kamil Chmielewski
2016-06-09 13:08:10 +02:00
parent 8dc356c731
commit bbc37e0eb7
23 changed files with 95 additions and 72 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "flannel-${version}";
@@ -7,9 +7,10 @@ buildGoPackage rec {
goPackagePath = "github.com/coreos/flannel";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/coreos/flannel";
owner = "coreos";
repo = "flannel";
sha256 = "19nrilcc41411rag2qm22vdna4kpqm933ry9m82wkd7sqzb50fpw";
};
}