mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
27 lines
639 B
Nix
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 ];
|
|
};
|
|
}
|