mips64-elf-binutilsmips64-elf-gccmips-linux-gnu-gccqemu-irix
brew tap tehzz/n64-dev and then brew install <formula>.
Or brew install tehzz/n64-dev/<formula>
Or install via URL (which will not receive updates):
brew install https://raw.githubusercontent.com/tehzz/homebrew-n64-dev/master/Formula/<formula>.rb
brew help, man brew or check Homebrew's documentation.