I've successfully used the GitHash module to bake things like the branch name and commit hash into programs.
Are there any other, similar, modules for extracting data from package.yaml in a similar way? (I guess TemplateHaskell is involved?) Specifically, for the moment, I'm interested in the version string, but a wider-reaching solution would be potentially very useful.