mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 11:44:02 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
704 B
Nix
28 lines
704 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "okta-aws-cli";
|
|
version = "2.1.2";
|
|
|
|
subPackages = [ "cmd/okta-aws-cli" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "okta";
|
|
repo = "okta-aws-cli";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-MNaoCefJwUPWYPZ+AtQUHhm1ZKSFq+hCGGAFwBxrbWI=";
|
|
};
|
|
|
|
vendorHash = "sha256-SjABVO6tHYRc/1pYjOqfZP+NfnK1/WnAcY5NQ4hMssE=";
|
|
|
|
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";
|
|
};
|
|
}
|