From 2235d00b44cc4cac653167f4b4f0f2bba5862ed0 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sat, 25 Feb 2023 19:45:21 -0600 Subject: [PATCH] aws-sso-cli: 1.9.6 -> 1.9.9 --- pkgs/tools/admin/aws-sso-cli/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/aws-sso-cli/default.nix b/pkgs/tools/admin/aws-sso-cli/default.nix index 34219c35cf15..023a91df8332 100644 --- a/pkgs/tools/admin/aws-sso-cli/default.nix +++ b/pkgs/tools/admin/aws-sso-cli/default.nix @@ -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 ]}