Use Jsonnet syntax to build your snapcraft.yaml. Jsonnet allows you to import and use third-party snippet libraries to save writing the same boilerplate over and over again. The author of this snap has documented and catalogued several libraries, which can be found via

Get it from the Snap Store

Search for another snap, or go back to the homepage.