Well to write wrappers, the most useful tool you have around is c2nim. That
helps you with initial translations. Of course you need to also undersdand how
C works or writting correct wrippers might become a bit tricky. But
definitively check out other wrapper code that was already been written in Nim,
so that you get an idea of how to do it. It's not necessarily a hard job to do,
it is just tedious, and writing a lazy wrapper (only the parts you acutally
need) might be the faster road to success.