Merge pull request #233910 from aaronjheng/envconsul
envconsul: 0.13.1 -> 0.13.2
This commit is contained in:
commit
2778483624
1 changed files with 9 additions and 5 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, testers, envconsul }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "envconsul";
|
pname = "envconsul";
|
||||||
version = "0.13.1";
|
version = "0.13.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hashicorp";
|
owner = "hashicorp";
|
||||||
repo = "envconsul";
|
repo = "envconsul";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-9X0mSEMaLGdchf9g5EyRUsn7z6cvbG4QBPoaris7RwQ=";
|
hash = "sha256-GZU1lEAI3k5EUU/z4gHR8plECudwp+YYyPSk7E0NQtI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-Vunq3lsM1aSXNIr3ZMqE03f0jEI5BpWwMYhZ41tiB9M=";
|
vendorHash = "sha256-ehxeupO8CrKqkqK11ig7Pj4XTh61VOE4rT2T2SsChxw=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
|
@ -19,10 +19,14 @@ buildGoModule rec {
|
||||||
"-X github.com/hashicorp/envconsul/version.Name=envconsul"
|
"-X github.com/hashicorp/envconsul/version.Name=envconsul"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = envconsul;
|
||||||
|
version = "v${version}";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/hashicorp/envconsul/";
|
homepage = "https://github.com/hashicorp/envconsul/";
|
||||||
description = "Read and set environmental variables for processes from Consul";
|
description = "Read and set environmental variables for processes from Consul";
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ pradeepchhetri ];
|
maintainers = with maintainers; [ pradeepchhetri ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue