3
0
Fork 0
forked from mirrors/nixpkgs
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 10:20:00 +01:00
{ buildGoModule, lib, fetchFromGitHub }:
2020-12-27 21:43:24 +00:00
2020-08-19 16:17:35 +01:00
buildGoModule rec {
pname = "chamber";
2022-12-15 16:08:48 +00:00
version = "2.11.0";
2020-08-19 16:17:35 +01:00
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
2022-12-15 16:08:48 +00:00
sha256 = "sha256-QoFdcPfwbcX8rVqX5yHg0B7sIAKE3iLWzwLV991t7a0=";
2020-08-19 16:17:35 +01:00
};
2021-05-10 10:20:00 +01:00
CGO_ENABLED = 0;
2020-12-27 21:43:24 +00:00
2022-06-25 09:13:40 +01:00
vendorSha256 = "sha256-ENsKm3D3URCrRUiqqebkgFS//2h9SlLbAQHdjisdGlE=";
2020-08-19 16:17:35 +01:00
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" "-X main.Version=v${version}" ];
2020-08-19 16:17:35 +01:00
meta = with lib; {
description =
"A tool for managing secrets by storing them in AWS SSM Parameter Store";
2020-08-19 16:17:35 +01:00
homepage = "https://github.com/segmentio/chamber";
license = licenses.mit;
maintainers = with maintainers; [ kalekseev ];
};
}