2016-06-07 13:32:34 -07:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 13:31:11 -07:00
|
|
|
|
2016-06-07 13:32:34 -07:00
|
|
|
buildGoPackage rec {
|
2016-06-04 13:31:11 -07:00
|
|
|
name = "consul-template-${version}";
|
2017-02-16 11:05:46 -08:00
|
|
|
version = "0.18.1";
|
2016-06-04 13:31:11 -07:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/consul-template";
|
|
|
|
|
2016-06-06 03:56:28 -07:00
|
|
|
src = fetchFromGitHub {
|
2016-06-04 13:31:11 -07:00
|
|
|
inherit rev;
|
2016-06-06 03:56:28 -07:00
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "consul-template";
|
2017-02-16 11:05:46 -08:00
|
|
|
sha256 = "0swyhc5smjbp5wql43qhpxrcbg47v89l5icb1s60gszhxizlkk7d";
|
2017-01-31 19:38:01 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/hashicorp/consul-template/;
|
|
|
|
description = "Generic template rendering and notifications with Consul";
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
2016-06-04 13:31:11 -07:00
|
|
|
};
|
|
|
|
}
|