2021-05-20 23:08:51 +00:00
|
|
|
{ buildGoModule, lib, fetchFromGitHub }:
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "chamber";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "3.1.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "segmentio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-BD4gtdlIh5IRgTtrCdEN+o5d00wZsczsH0JbdoFdg4o=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
CGO_ENABLED = 0;
|
2020-12-29 15:07:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
vendorHash = "sha256-Rk6doJqLD8ucU+mGDtteCyM/QvnzbIVnFmFW9b09560=";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description =
|
2020-10-27 00:29:36 +00:00
|
|
|
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://github.com/segmentio/chamber";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kalekseev ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "chamber";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|