Not edible, not vegan
So here's what you get instead. It's still a kitchen activity, and something I needed after bringing home some overripe bananas the other day and taking my time to get them into the freezer.
Like I said, this ain't vegan but if you've got fruit flies swarming around, here's a sure way to get rid of them. (I learned this from Cheendana years ago.)
Get a small dish.
Pour about a centimetre of cider vinegar into the bottom of it.
Add a pinch or so of sweetener (this is one of the rare occassions I use sugar in my kitchen. If you don't have any, a dollop of honey works too).
Cover dish with taughly-pulled plastic wrap and secure with a rubber band.
Poke holes in the plastic cover with a fork.
The flies will be attracted to the sweet fermenting smell. They'll be able to crawl in, but not out again. (Am I horrible for doing this to them?)
Mine's working, as you can see: