depot/third_party/nixpkgs/pkgs/tools/admin/okta-aws-cli/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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";
};
}