nixpkgs/pkgs/tools/admin/chamber/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
685 B
Nix
Raw Normal View History

2021-05-10 11:20:00 +02:00
{ buildGoModule, lib, fetchFromGitHub }:
2020-12-27 22:43:24 +01:00
2020-08-19 17:17:35 +02:00
buildGoModule rec {
pname = "chamber";
2022-02-12 14:49:47 +01:00
version = "2.10.8";
2020-08-19 17:17:35 +02:00
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
2022-02-12 14:49:47 +01:00
sha256 = "sha256-rU9xywEa9E1VG1CaRGHzjXTL+0erlgP1thDTYBz+oLM=";
2020-08-19 17:17:35 +02:00
};
2021-05-10 11:20:00 +02:00
CGO_ENABLED = 0;
2020-12-27 22:43:24 +01:00
2021-06-08 11:09:38 +02:00
vendorSha256 = "sha256-XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk=";
2020-08-19 17:17:35 +02:00
2021-08-26 08:45:51 +02:00
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
2020-08-19 17:17:35 +02:00
meta = with lib; {
description =
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
2020-08-19 17:17:35 +02:00
homepage = "https://github.com/segmentio/chamber";
license = licenses.mit;
maintainers = with maintainers; [ kalekseev ];
};
}