consul-template: 0.19.4 -> 0.25.1

This commit is contained in:
Phillip Cloud 2021-01-03 10:51:41 -05:00 committed by Jonathan Ringer
parent c1cc0f5b99
commit 014007ff20

View File

@ -1,24 +1,27 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "consul-template";
version = "0.19.4";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/consul-template";
version = "0.25.1";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "consul-template";
sha256 = "06agjzpax45gw7s9b69cz9w523nx7ksikqcg0z0vipwrp7pwrydd";
rev = "v${version}";
sha256 = "1205rhv4mizpb1nbc2sry52n7wljcwb8xp7lpazh1r1cldfayr5b";
};
vendorSha256 = "0hv4b6k8k7xkzkjgzcm5y8pqyiwyk790a1qw18gjslkwkyw5hjf2";
# consul-template tests depend on vault and consul services running to
# execute tests so we skip them here
doCheck = false;
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 ];
maintainers = with maintainers; [ cpcloud pradeepchhetri ];
};
}