2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2017-02-17 19:20:28 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "envconsul";
|
2018-02-26 04:49:59 +00:00
|
|
|
version = "0.7.3";
|
2017-02-17 19:20:28 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hashicorp/envconsul";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "hashicorp";
|
|
|
|
repo = "envconsul";
|
2018-02-26 04:49:59 +00:00
|
|
|
sha256 = "03cgxkyyynr067dg5b0lhvaxn60318fj9fh55p1n43vj5nrzgnbc";
|
2017-02-17 19:20:28 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/hashicorp/envconsul/";
|
2017-02-17 19:20:28 +00:00
|
|
|
description = "Read and set environmental variables for processes from Consul";
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
|
|
};
|
|
|
|
}
|