1{ buildGoModule, lib, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "chamber";
5 version = "2.10.6";
6
7 src = fetchFromGitHub {
8 owner = "segmentio";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-8VnFpzm5St0AYFzups2ILQ/MrQRZLQ1xY9JjlGVBmZk=";
12 };
13
14 CGO_ENABLED = 0;
15
16 vendorSha256 = "sha256-XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk=";
17
18 ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
19
20 meta = with lib; {
21 description =
22 "A tool for managing secrets by storing them in AWS SSM Parameter Store";
23 homepage = "https://github.com/segmentio/chamber";
24 license = licenses.mit;
25 maintainers = with maintainers; [ kalekseev ];
26 };
27}