nixpkgs/pkgs/tools/admin/ssmsh/default.nix
2022-02-19 01:25:01 +00:00

27 lines
639 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ssmsh";
version = "1.4.7";
src = fetchFromGitHub {
owner = "bwhaley";
repo = pname;
rev = "v${version}";
sha256 = "sha256-juyTCtcuFIlKyLxDrK5tRRzCMwoSXG4EUA32E/Z4y5c=";
};
vendorSha256 = "sha256-dqUMwnHRsR8n4bHEKoePyuqr8sE4NWPpuYo5SwOw0Rw=";
doCheck = true;
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 ];
};
}