Brachymeria is a genus of parasitic wasp in the Chalcididae family. They generally oviposit in the pupa of Lepidopterans.
Here is one that I found on a Douglas Hawthorn fruit. I have no idea what it was doing there, but I imagine it was up to no good.