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";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "2.13.3";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "segmentio";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-22 20:05:09 +00:00
|
|
|
sha256 = "sha256-Pte2fOIuezFJ1Hz5MgjRDTIAMJ5r+LO1hKHc3sLu0W4=";
|
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
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
vendorHash = "sha256-McicBVC2niLvP902monJwPMOrQKSum10zeHNcO32/M8=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|