f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
27 lines
704 B
Nix
27 lines
704 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "okta-aws-cli";
|
|
version = "2.3.0";
|
|
|
|
subPackages = [ "cmd/okta-aws-cli" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "okta";
|
|
repo = "okta-aws-cli";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+8+3VzMWBb6WQAX7788OWTYj1/E2ps6H7UtB5rO2fSY=";
|
|
};
|
|
|
|
vendorHash = "sha256-2VTq8lzGYBKH410/mflloAphWTwFie3mdmz2kLkfuQ0=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
mainProgram = "okta-aws-cli";
|
|
};
|
|
}
|