2021-01-25 00:26:54 -08:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-04 13:31:11 -07:00
|
|
|
|
2021-01-03 07:51:41 -08:00
|
|
|
buildGoModule rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "consul-template";
|
2021-02-21 02:36:01 -08:00
|
|
|
version = "0.25.2";
|
2016-06-04 13:31:11 -07:00
|
|
|
|
2016-06-06 03:56:28 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "consul-template";
|
2021-01-03 07:51:41 -08:00
|
|
|
rev = "v${version}";
|
2021-02-21 02:36:01 -08:00
|
|
|
sha256 = "sha256-r9/CxXFaeod48NgOFWhl+axiNqjaU+RIEHI71fmYzP8=";
|
2017-01-31 19:38:01 -08:00
|
|
|
};
|
|
|
|
|
2021-02-21 02:36:01 -08:00
|
|
|
vendorSha256 = "sha256-DLjaDj3fJYl5ICxJuaCLKdd/AfwfUIM8teJLs3a2MHo=";
|
2021-01-03 07:51:41 -08:00
|
|
|
|
|
|
|
# consul-template tests depend on vault and consul services running to
|
|
|
|
# execute tests so we skip them here
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/hashicorp/consul-template/";
|
2017-01-31 19:38:01 -08:00
|
|
|
description = "Generic template rendering and notifications with Consul";
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
license = licenses.mpl20;
|
2021-01-03 07:51:41 -08:00
|
|
|
maintainers = with maintainers; [ cpcloud pradeepchhetri ];
|
2016-06-04 13:31:11 -07:00
|
|
|
};
|
|
|
|
}
|