nixpkgs-suyu/pkgs/tools/system/consul-template/default.nix
Ryan Mulligan 0de9bbb9f7 consul-template: 0.18.1 -> 0.19.4
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin/bin/consul-template -h` got 0 exit code
- ran `/nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin/bin/consul-template --help` got 0 exit code
- ran `/nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin/bin/consul-template -v` and found version 0.19.4
- ran `/nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin/bin/consul-template --version` and found version 0.19.4
- found 0.19.4 with grep in /nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin
- found 0.19.4 in filename of file in /nix/store/3s9an36qfjcarbdz0vjbgj08la6p0wan-consul-template-0.19.4-bin
2018-02-25 17:39:14 -08:00

24 lines
703 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
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";
};
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 ];
};
}