Yes, it's a generic Emacs library. It shouldn't depend on Homebrew's Emacs.