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

25 lines
703 B
Nix
Raw Normal View History

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