steven-omaha / pacdef

multi-backend declarative package manager for Linux
GNU General Public License v3.0
341 stars 13 forks source link

[Backend request]: Brew #84

Open niceEli opened 5 months ago

niceEli commented 5 months ago

What's the name of the package manager pacdef should support?

Brew

What operating system or software ecosystem does it relate to?

Linux + MacOS

Would you be willing to implement this? We would support you through this process.

Additional information

This would be great for being able to use the same file on my linux and mac machines

steven-omaha commented 4 months ago

I have been looking forward to this for a while, but I don't have any MacOS machines, so I cannot implement this. I have no way of testing.

niceEli commented 4 months ago

i know brew works on linux aswell, i think you even use the same setup command (which is /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)") everything other than casks (cocoa apps) work

Magniquick commented 3 months ago

I may given this a shot once #81 is done. High emphasis on may however - my rust is far from good atm.

ajeetdsouza commented 1 month ago

brew should be fairly easy to implement - it natively supports brew bundle for declarative package management:

brew bundle --cleanup --no-upgrade --file=- <<EOF
brew "some-dependency-here"
EOF