Merge pull request #167723 from aaronjheng/envconsul

envconsul: 0.7.3 -> 0.12.1
This commit is contained in:
Bobby Rong 2022-04-28 21:40:32 +08:00 committed by GitHub
commit c941d7aa54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,24 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "envconsul";
version = "0.7.3";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/envconsul";
version = "0.12.1";
src = fetchFromGitHub {
inherit rev;
owner = "hashicorp";
repo = "envconsul";
sha256 = "03cgxkyyynr067dg5b0lhvaxn60318fj9fh55p1n43vj5nrzgnbc";
rev = "v${version}";
sha256 = "sha256-oV+dGenyNYdVLFn43p+J9TgIbliYOppAKr1ePlMF0d4=";
};
vendorSha256 = "sha256-kal1HR9zRVhQKR/ql63hju7XIHU1KRNDTAlOEqzYR4o=";
ldflags = [
"-s"
"-w"
"-X github.com/hashicorp/envconsul/version.Name=envconsul"
];
meta = with lib; {
homepage = "https://github.com/hashicorp/envconsul/";
description = "Read and set environmental variables for processes from Consul";