mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
28 lines
683 B
Nix
28 lines
683 B
Nix
{ buildGoModule, lib, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "chamber";
|
|
version = "2.11.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "segmentio";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-0SiHJ86fW4QahIBfcFD7FJONbN4ImYyF7yqw3URmcd8=";
|
|
};
|
|
|
|
CGO_ENABLED = 0;
|
|
|
|
vendorHash = "sha256-ENsKm3D3URCrRUiqqebkgFS//2h9SlLbAQHdjisdGlE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|