depot/third_party/nixpkgs/pkgs/tools/admin/ssmsh/default.nix
Default email cc49d46d4f Project import generated by Copybara.
GitOrigin-RevId: 2deeb58f49480f468adca6b08291322de4dbce6b
2020-11-12 23:50:31 +00:00

26 lines
664 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ssmsh";
version = "1.4.3";
src = fetchFromGitHub {
owner = "bwhaley";
repo = pname;
rev = "v${version}";
sha256 = "0rvvawn4cavqhbrrp616mi5ipn4q6j22227h4rbjh0zxdlna23gm";
};
vendorSha256 = "127xni0i7w42075bspmm5r61j858i1p59jr2ib8f9r1pbizh63xw";
doCheck = true;
buildFlagsArray = [ "-ldflags=-w -s -X main.Version=${version}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/bwhaley/ssmsh";
description = "An interactive shell for AWS Parameter Store";
license = licenses.mit;
maintainers = with maintainers; [ dbirks ];
};
}