2021-05-10 09:20:00 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
2020-12-27 21:43:24 +00:00
|
|
|
|
2020-08-19 15:17:35 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "chamber";
|
2022-06-25 08:13:40 +00:00
|
|
|
version = "2.10.12";
|
2020-08-19 15:17:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "segmentio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-25 08:13:40 +00:00
|
|
|
sha256 = "sha256-KbKOaUwJEy/mT59yW0VhZ3MIWkXarCRY8cyNlaI51mQ=";
|
2020-08-19 15:17:35 +00:00
|
|
|
};
|
|
|
|
|
2021-05-10 09:20:00 +00:00
|
|
|
CGO_ENABLED = 0;
|
2020-12-27 21:43:24 +00:00
|
|
|
|
2022-06-25 08:13:40 +00:00
|
|
|
vendorSha256 = "sha256-ENsKm3D3URCrRUiqqebkgFS//2h9SlLbAQHdjisdGlE=";
|
2020-08-19 15:17:35 +00:00
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
|
2020-08-19 15:17:35 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
2020-10-25 13:13:18 +00:00
|
|
|
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
|
2020-08-19 15:17:35 +00:00
|
|
|
homepage = "https://github.com/segmentio/chamber";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalekseev ];
|
|
|
|
};
|
|
|
|
}
|