nixpkgs/pkgs/tools/admin/okta-aws-cli/default.nix
2023-05-17 13:40:38 -07:00

27 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 ];
};
}