mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
27 lines
676 B
Nix
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 ];
|
|
};
|
|
}
|