10 pname = "aws-sso-cli";
13 src = fetchFromGitHub {
17 hash = "sha256-VEI+vCNeNoFOE+2j/OUjRszXsUQP2E1iUdPUW9X3tHk=";
19 vendorHash = "sha256-a57RtK8PxwaRrSA6W6R//GacZ+pK8mBi4ZASS5NvShE=";
21 nativeBuildInputs = [ makeWrapper ];
24 "-X main.Version=${version}"
29 wrapProgram $out/bin/aws-sso \
30 --suffix PATH : ${lib.makeBinPath [ xdg-utils ]}
33 nativeCheckInputs = [ getent ];
39 "TestServerWithSSL" # https://github.com/synfinatic/aws-sso-cli/issues/1030 -- remove when version >= 2.x
40 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "TestDetectShellBash" ];
42 [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
45 homepage = "https://github.com/synfinatic/aws-sso-cli";
46 description = "AWS SSO CLI is a secure replacement for using the aws configure sso wizard";
47 license = licenses.gpl3Plus;
48 maintainers = with maintainers; [ devusb ];
49 mainProgram = "aws-sso";