nixpkgs/pkgs/tools/admin/ssmsh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
639 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-11-07 16:39:00 +00:00
buildGoModule rec {
pname = "ssmsh";
2022-02-19 01:25:01 +00:00
version = "1.4.7";
2020-11-07 16:39:00 +00:00
src = fetchFromGitHub {
owner = "bwhaley";
repo = pname;
rev = "v${version}";
2022-02-19 01:25:01 +00:00
sha256 = "sha256-juyTCtcuFIlKyLxDrK5tRRzCMwoSXG4EUA32E/Z4y5c=";
2020-11-07 16:39:00 +00:00
};
2022-02-19 01:25:01 +00:00
vendorSha256 = "sha256-dqUMwnHRsR8n4bHEKoePyuqr8sE4NWPpuYo5SwOw0Rw=";
2020-11-07 16:39:00 +00:00
doCheck = true;
2021-08-26 06:45:51 +00:00
ldflags = [ "-w" "-s" "-X main.Version=${version}" ];
2020-11-07 16:39:00 +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 ];
};
}