Merge pull request #194202 from ymatsiuk/ymatsiuk/aws-sso-cli

aws-sso-cli: 1.9.2 -> 1.9.4
This commit is contained in:
Nikolay Korotkiy 2022-10-05 00:33:00 +03:00 committed by GitHub
commit 8b86dfae80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,20 +6,19 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "aws-sso-cli"; pname = "aws-sso-cli";
version = "1.9.2"; version = "1.9.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "synfinatic"; owner = "synfinatic";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "9/dZfRmFAyE5NEMmuiVsRvwgqQrTNhXkTR9N0d3zgfk="; sha256 = "sha256-xFAJrJSVf7wgJPUELCiwZVK0nBeOChuJBKROeJIRURc=";
}; };
vendorSha256 = "BlSCLvlrKiubMtfFSZ5ppMmL2ZhJcBXxJfeRgMADYB4="; vendorSha256 = "sha256-f0HrQzHK1JDWmRrnqG/N4X8TG0DP/IRWd6b7QR/vyzo=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
postInstall = '' postInstall = ''
mv $out/bin/cmd $out/bin/aws-sso
wrapProgram $out/bin/aws-sso \ wrapProgram $out/bin/aws-sso \
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} --suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
''; '';