2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-11-12 23:50:31 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "ssmsh";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "1.4.4";
|
2020-11-12 23:50:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bwhaley";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "0mgx4q21f6rxih79l0hwgzwafxviz5a33dpvc5k0z172sfw0dmj1";
|
2020-11-12 23:50:31 +00:00
|
|
|
};
|
|
|
|
|
2020-11-19 00:13:47 +00:00
|
|
|
vendorSha256 = "147f02bl3sf073dy2ximbavdcbphdn7djgisla1cyyy4ng6dhf7f";
|
2020-11-12 23:50:31 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-w -s -X main.Version=${version}" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-11-12 23:50:31 +00:00
|
|
|
homepage = "https://github.com/bwhaley/ssmsh";
|
|
|
|
description = "An interactive shell for AWS Parameter Store";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dbirks ];
|
|
|
|
};
|
|
|
|
}
|