forked from mirrors/nixpkgs
0de9bbb9f7
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
25 lines
703 B
Nix
25 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 ];
|
|
};
|
|
}
|