2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-11-07 16:39:00 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ssmsh";
|
2021-02-06 19:46:35 +00:00
|
|
|
version = "1.4.5";
|
2020-11-07 16:39:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bwhaley";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-02-06 19:46:35 +00:00
|
|
|
sha256 = "sha256-WZ2glv/f4LwTK/G8QdaVRIAHvgGLPLPL8xjAg/kUokQ=";
|
2020-11-07 16:39:00 +00:00
|
|
|
};
|
|
|
|
|
2021-02-06 19:46:35 +00:00
|
|
|
vendorSha256 = "sha256-17fmdsfOrOaySPsXofLzz0+vmiemg9MbnWhRoZ67EuQ=";
|
2020-11-07 16:39:00 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-w -s -X main.Version=${version}" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-11-07 16:39:00 +00:00
|
|
|
homepage = "https://github.com/bwhaley/ssmsh";
|
|
|
|
description = "An interactive shell for AWS Parameter Store";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dbirks ];
|
|
|
|
};
|
|
|
|
}
|