mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
32 lines
893 B
Nix
32 lines
893 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "consul-template";
|
|
version = "0.32.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hashicorp";
|
|
repo = "consul-template";
|
|
rev = "v${version}";
|
|
hash = "sha256-jpUDNtcJBcxlHt4GEVZLGT11QBgLHgOR3Y2TT7GROls=";
|
|
};
|
|
|
|
vendorHash = "sha256-DV+sZkTKsTygO/LOi6z0vSUgavyqYKB4F2fMxuFFdvw=";
|
|
|
|
# consul-template tests depend on vault and consul services running to
|
|
# execute tests so we skip them here
|
|
doCheck = false;
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) consul-template;
|
|
};
|
|
|
|
meta = with 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; [ cpcloud pradeepchhetri ];
|
|
};
|
|
}
|