blob: f3e5609d9abd9a312c9ea237aa12c869dfb42aba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ lib, buildGoModule, fetchFromGitHub, testers, envconsul }:
buildGoModule rec {
pname = "envconsul";
version = "0.13.2";
src = fetchFromGitHub {
owner = "hashicorp";
repo = "envconsul";
rev = "v${version}";
hash = "sha256-GZU1lEAI3k5EUU/z4gHR8plECudwp+YYyPSk7E0NQtI=";
};
vendorHash = "sha256-ehxeupO8CrKqkqK11ig7Pj4XTh61VOE4rT2T2SsChxw=";
ldflags = [
"-s"
"-w"
"-X github.com/hashicorp/envconsul/version.Name=envconsul"
];
passthru.tests.version = testers.testVersion {
package = envconsul;
version = "v${version}";
};
meta = with lib; {
homepage = "https://github.com/hashicorp/envconsul/";
description = "Read and set environmental variables for processes from Consul";
license = licenses.mpl20;
maintainers = with maintainers; [ pradeepchhetri ];
mainProgram = "envconsul";
};
}
|