How to prevent including kwallet with breeze-gtk

For some reason, kdePackages.breeze-gtk has dependencies, including kwallet. This is annoying, since some programs (particularly, brave browser) try to use that instead of gnome-keyring for some reason. I don’t think that the dependencies are necessary (except at build time), as the files in the derivation don’t seem to depend on anything, and other distros (Arch) don’t have any dependencies for breeze-gtk.
Is there any way to remove the dependencies for breeze-gtk? I’ve tried using an overlay that moves the buildInputs into nativeBuildInputs (and similarly for propagated…), but then it fails to build.