2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "okta-aws-cli";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2.3.1";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/okta-aws-cli" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "okta";
|
|
|
|
repo = "okta-aws-cli";
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
sha256 = "sha256-dts2aTd90bsuTkXB6AxFN6IziOQXTG1XLT0XSAC1Avc=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
vendorHash = "sha256-2VTq8lzGYBKH410/mflloAphWTwFie3mdmz2kLkfuQ0=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI for having Okta as the IdP for AWS CLI operations";
|
2023-05-24 13:37:59 +00:00
|
|
|
homepage = "https://github.com/okta/okta-aws-cli";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ daniyalsuri6 ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "okta-aws-cli";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
}
|