buildGo16Packages: fetchgit -> fetchFromGitHub

This commit is contained in:
Kamil Chmielewski 2016-06-06 12:56:28 +02:00
parent bbc37e0eb7
commit 734d152977
6 changed files with 24 additions and 19 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "terraform-${version}";
@ -7,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/hashicorp/terraform";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/hashicorp/terraform";
owner = "hashicorp";
repo = "terraform";
sha256 = "1mf98hagb0yp40g2mbar7aw7hmpq01clnil6y9khvykrb33vy0nb";
};

View File

@ -1,5 +1,4 @@
# This file was generated by go2nix.
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "glide-${version}";
@ -8,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/Masterminds/glide";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/Masterminds/glide";
owner = "Masterminds";
repo = "glide";
sha256 = "1qb2n5i04gabb2snnwfr8wv4ypcp1pdzvgga62m9xkhk4p2w6pwl";
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "caddy-${version}";
@ -7,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/mholt/caddy";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/mholt/caddy";
owner = "mholt";
repo = "caddy";
sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6";
};

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "consul-alerts-${version}";
@ -7,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/AcalephStorage/consul-alerts";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/AcalephStorage/consul-alerts";
owner = "AcalephStorage";
repo = "consul-alerts";
sha256 = "1w0mb20w1yazyh84sa30bsw271c5nm7lsx2qg0g3gf6mxdb63lpq";
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "vault-${version}";
@ -7,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/hashicorp/vault";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/hashicorp/vault";
owner = "hashicorp";
repo = "vault";
sha256 = "085rk5i480wdlkn2p14yxi8zgsc11595nkkda1i77c4vjkllbkdy";
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGo16Package, fetchFromGitHub }:
buildGo16Package rec {
name = "consul-template-${version}";
@ -7,9 +7,10 @@ buildGo16Package rec {
goPackagePath = "github.com/hashicorp/consul-template";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/hashicorp/consul-template";
owner = "hashicorp";
repo = "consul-template";
sha256 = "15zsax44g3dwjmmm4fpb54mvsjvjf3b6g3ijskgipvhcy0d3j938";
};
}