Vaurien can do this:

https://github.com/community-libs/vaurien