Grep existing formula for "Requirement"; see for instance https://github.com/Homebrew/homebrew/blob/43091a3c40e36553ac5459974093baeb97e3e0d2/Library/Formula/hamsterdb.rb#L3