You only need git here, packages included in the base-devel group are assumed to be already installed to build packages.