mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
27 lines
685 B
Nix
27 lines
685 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "chamber";
|
|
version = "2.10.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "segmentio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HpxHGbgPdu92ha0QO15x1rrJikDmpSA8E8YdgjzQ/Mw=";
|
|
};
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
vendorSha256 = "sha256-XpLLolxWu9aMp1cyG4dUQk4YtknbIRMmBUdSeyY4PNk=";
|
|
|
|
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 ];
|
|
};
|
|
}
|