nixpkgs-suyu/pkgs/tools/system/consul-template/default.nix

25 lines
698 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2016-06-07 22:32:34 +02:00
buildGoPackage rec {
name = "consul-template-${version}";
version = "0.19.4";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/consul-template";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "consul-template";
sha256 = "06agjzpax45gw7s9b69cz9w523nx7ksikqcg0z0vipwrp7pwrydd";
2017-02-01 04:38:01 +01: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 ];
};
}