I wrapped and nimified libgpiod. Tested on Rpi2. I could not wrap the iterators, #define-d in C as macros... but, for me, it is not a big problem ;) https://github.com/nais314/nimgpiod
Happy Holidays and Happy New Year to All!