Nix will get you most of this. It's got a learning curve, but I think it pays off and is not bad if you're familiar with the Brazil concepts.
Having to set up a million dependencies just to begin to start working on a codebase is a nightmare, and Brazil makes that easy.