Homebrew tap when there is no artifact for the current OS
I am not overly familiar with Homebrew, but depends_on seems to allow you to specify an architecture. I think adding
depends_on arch: :x86_64

to your formula will solve the issue nicely.