3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
27 lines
684 B
Nix
27 lines
684 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "chamber";
|
|
version = "2.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "segmentio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "4G/QGoztpcLIspHxD5G+obG5h05SZek4keOJ5qS3/zg=";
|
|
};
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
vendorSha256 = "XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk=";
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
|
|
homepage = "https://github.com/segmentio/chamber";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kalekseev ];
|
|
};
|
|
}
|