nixpkgs-suyu/pkgs/tools/system/consul-template/default.nix
2016-06-09 13:08:10 +02:00

16 lines
390 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "consul-template-${version}";
version = "0.14.0";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/consul-template";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "consul-template";
sha256 = "15zsax44g3dwjmmm4fpb54mvsjvjf3b6g3ijskgipvhcy0d3j938";
};
}