envconsul: 0.7.3 -> 0.12.1

This commit is contained in:
Aaron Jheng 2022-04-07 14:46:19 +00:00
parent 9699dc610d
commit 6fb36a0d47
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

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";