mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
17 lines
390 B
Nix
17 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";
|
|
};
|
|
}
|