depot/third_party/nixpkgs/pkgs/tools/admin/ssmsh/default.nix
Default email fcc03dbfc5 Project import generated by Copybara.
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
2021-02-13 15:23:35 +01:00

26 lines
652 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ssmsh";
version = "1.4.5";
src = fetchFromGitHub {
owner = "bwhaley";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WZ2glv/f4LwTK/G8QdaVRIAHvgGLPLPL8xjAg/kUokQ=";
};
vendorSha256 = "sha256-17fmdsfOrOaySPsXofLzz0+vmiemg9MbnWhRoZ67EuQ=";
doCheck = true;
buildFlagsArray = [ "-ldflags=-w -s -X main.Version=${version}" ];
meta = with lib; {
homepage = "https://github.com/bwhaley/ssmsh";
description = "An interactive shell for AWS Parameter Store";
license = licenses.mit;
maintainers = with maintainers; [ dbirks ];
};
}