Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "okta-aws-cli"; 5 version = "1.2.2"; 6 7 subPackages = [ "cmd/okta-aws-cli" ]; 8 9 src = fetchFromGitHub { 10 owner = "okta"; 11 repo = "okta-aws-cli"; 12 rev = "v${version}"; 13 sha256 = "sha256-GF+2xPoc9dztB7w6pOLwiZ6D9b4P1YEJrZxL33j4aew="; 14 }; 15 16 vendorHash = "sha256-AJmQxMRj602yodzIdhZV+R22KxnEIbT9iSz/5G5T6r8="; 17 18 ldflags = [ "-s" "-w" ]; 19 20 meta = with lib; { 21 description = "A CLI for having Okta as the IdP for AWS CLI operations"; 22 homepage = "https://github.com/okta/okta-aws-cli"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ daniyalsuri6 ]; 25 }; 26}