depot/third_party/nixpkgs/pkgs/tools/admin/okta-aws-cli/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

26 lines
676 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "okta-aws-cli";
version = "1.0.1";
subPackages = [ "cmd/okta-aws-cli" ];
src = fetchFromGitHub {
owner = "okta";
repo = "okta-aws-cli";
rev = "v${version}";
sha256 = "1qlc04fydcqnifbhrzdw63wq3ndzsyzp4s1bdvfhvizbhdi03mpp";
};
vendorSha256 = "1gzaadpf9zrci7yv88f434mvc7gralb7dj6wl6r4vsv3qk291680";
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 ];
};
}