The nil plugin is useful for parts with no source.

By using the nil plugin, parts can be defined purely by using properties automatically included by Snapcraft, such as stage-packages.

For examples, search GitHub for projects already using the plugin.

ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.