Use jsonnet syntax to build your snapcraft.yaml
https://github.com/diddlesnaps/snapcraft-jsonnet.git
latest