Custom targets now allow specifying an external program in the input and depends keyword arguments. This also applies to several methods provided by modules, as they are lowered to custom targets internally.
Tests now allow specifying an external program in the depends keyword argument.