The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
mainProgram
Emulators form a class by themselves. So, they should be moved to applications/.