2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "okta-aws-cli";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.0.2";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/okta-aws-cli" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "okta";
|
|
|
|
repo = "okta-aws-cli";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-gC5/KwtawVfCx6C5kP0/ZesEzn9XxrPX/X8E8Mb/KUE=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-AJmQxMRj602yodzIdhZV+R22KxnEIbT9iSz/5G5T6r8=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI for having Okta as the IdP for AWS CLI operations";
|
|
|
|
homepage = "https://github.com/okta/okta-aws-cli";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ daniyalsuri6 ];
|
|
|
|
};
|
|
|
|
}
|