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

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

29 lines
712 B
Nix
Raw Normal View History

2021-05-10 09:20:00 +00:00
{ buildGoModule, lib, fetchFromGitHub }:
2020-12-27 21:43:24 +00:00
2020-08-19 15:17:35 +00:00
buildGoModule rec {
pname = "chamber";
2024-02-06 04:33:42 +00:00
version = "2.14.0";
2020-08-19 15:17:35 +00:00
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
2024-02-06 04:33:42 +00:00
sha256 = "sha256-vyVdEMs+vtZkN0UuXGmCPNB4hsfjiiG6LeWYFW3gLiw=";
2020-08-19 15:17:35 +00:00
};
2021-05-10 09:20:00 +00:00
CGO_ENABLED = 0;
2020-12-27 21:43:24 +00:00
2024-02-06 04:33:42 +00:00
vendorHash = "sha256-pxWsx/DURVOXGC2izKS91BhbHc220+/6t15eT4Jl128=";
2020-08-19 15:17:35 +00:00
2021-08-26 06:45:51 +00:00
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
2020-08-19 15:17:35 +00:00
meta = with lib; {
description =
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
2020-08-19 15:17:35 +00:00
homepage = "https://github.com/segmentio/chamber";
license = licenses.mit;
maintainers = with maintainers; [ kalekseev ];
2024-02-11 02:19:15 +00:00
mainProgram = "chamber";
2020-08-19 15:17:35 +00:00
};
}