2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 21:31:11 +01:00
|
|
|
|
2016-06-07 21:32:34 +01:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "consul-template";
|
2018-02-26 01:39:14 +00:00
|
|
|
version = "0.19.4";
|
2016-06-04 21:31:11 +01:00
|
|
|
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";
|
2018-02-26 01:39:14 +00:00
|
|
|
sha256 = "06agjzpax45gw7s9b69cz9w523nx7ksikqcg0z0vipwrp7pwrydd";
|
2017-02-01 03:38:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/hashicorp/consul-template/";
|
2017-02-01 03:38:01 +00:00
|
|
|
description = "Generic template rendering and notifications with Consul";
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
2016-06-04 21:31:11 +01:00
|
|
|
};
|
|
|
|
}
|