2016-06-07 21:32:34 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 21:31:11 +01:00
|
|
|
|
2016-06-07 21:32:34 +01:00
|
|
|
buildGoPackage rec {
|
2016-06-04 21:31:11 +01:00
|
|
|
name = "consul-template-${version}";
|
|
|
|
version = "0.14.0";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/consul-template";
|
|
|
|
|
2016-06-06 11:56:28 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-06-04 21:31:11 +01:00
|
|
|
inherit rev;
|
2016-06-06 11:56:28 +01:00
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "consul-template";
|
2016-06-04 21:31:11 +01:00
|
|
|
sha256 = "15zsax44g3dwjmmm4fpb54mvsjvjf3b6g3ijskgipvhcy0d3j938";
|
|
|
|
};
|
|
|
|
}
|