Merge pull request #218358 from devusb/aws-sso-cli

aws-sso-cli: 1.9.6 -> 1.9.9
This commit is contained in:
Nick Cao 2023-02-27 14:46:53 +08:00 committed by GitHub
commit 1fd7a2db04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,18 +6,23 @@
}:
buildGoModule rec {
pname = "aws-sso-cli";
version = "1.9.6";
version = "1.9.9";
src = fetchFromGitHub {
owner = "synfinatic";
repo = pname;
rev = "v${version}";
sha256 = "sha256-3IqWmd3Qi2eVSR9vmZSTt5GLrlO4akjOGdpzndh6nT8=";
sha256 = "sha256-ulnRVyfJ0L1iJ3zVvn3VUYGXDV/UwhqdcC8D4wnjNys=";
};
vendorSha256 = "sha256-f0HrQzHK1JDWmRrnqG/N4X8TG0DP/IRWd6b7QR/vyzo=";
vendorSha256 = "sha256-myjHRZXTjsLXD8kibcdf1/Nhvx50fDsFtmZd63DpiiI=";
nativeBuildInputs = [ makeWrapper ];
ldflags = [
"-X main.Version=${version}"
"-X main.Tag=nixpkgs"
];
postInstall = ''
wrapProgram $out/bin/aws-sso \
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}