Formula dependent on specific fork of library: possible? #21
Replies: 1 comment 3 replies
-
I don't know if we allow forks of other formulae, so another maintainer should weigh in on that. If so, then yes, adding it and changing the Instead of adding the If the change isn't accepted, you are encouraged to host your own tap which can contain a formula for the Edit: I didn't read this close enough so here's a better answer: Yes, adding a new formula with the If it's not accepted, another option is to add the |
Beta Was this translation helpful? Give feedback.
-
I've been using the tool
kafkacat
recently: https://github.com/edenhill/kafkacatOne particular feature in
kafkacat
(Avro decoding + JSON envelope) requires using edenhill's fork of yajl (a JSON library): https://github.com/edenhill/yajlThe current formula for
kafkacat
depends on yajl, but the regular library, not the fork:https://github.com/Homebrew/homebrew-core/blob/aba5c04012b253654b28fa7aa0620ad165306416/Formula/kafkacat.rb#L19
If I wanted to change the formula to depend on edenhill's fork of yajl, is that possible? What would be required -- would I be able to (/should I) create a separate formula e.g.
edenhill-yajl
that installs the yajl fork, then depend on that?fwiw, I am looking to contribute changes here back to the master formula (so kafkacat works out of the box for everybody), not on a custom tap.
Beta Was this translation helpful? Give feedback.
All reactions