Using environment variables from snapcraft.yaml

Is it possible to use environment variables with snapcraft.yaml?
This would be useful for giving values to certain properties, for example:

parts:
    app:
        plugin: dump
        source: $SOURCE_ROOT/files

Or maybe there is some alternative mechanism I can use?