I need to run Vuescan on NixOS, it’s a commercial scanner software. They distribute a binary for linux
$ ./vuescan
bash: ./vuescan: cannot execute: required file not found
$ ldd ./vuescan
linux-vdso.so.1 (0x00007ffeb5ba1000)
libpthread.so.0 => /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libpthread.so.0 (0x00007fd26f120000)
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libpangoft2-1.0.so.0 => not found
libfontconfig.so.1 => not found
libcairo.so.2 => not found
libgobject-2.0.so.0 => not found
libfreetype.so.6 => not found
libglib-2.0.so.0 => not found
libgio-2.0.so.0 => not found
libuuid.so.1 => not found
libdl.so.2 => /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libdl.so.2 (0x00007fd26f117000)
libX11.so.6 => not found
libSM.so.6 => not found
libudev.so.1 => not found
libz.so.1 => not found
libstdc++.so.6 => not found
libm.so.6 => /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libm.so.6 (0x00007fd26f033000)
libgcc_s.so.1 => /nix/store/00r99fxv6l92wk0k6wd60klhs7fkmmqj-xgcc-12.3.0-libgcc/lib/libgcc_s.so.1 (0x00007fd26f012000)
libc.so.6 => /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib/libc.so.6 (0x00007fd26aa17000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/anlf335xlh41yjhm114swi87406mq5pw-glibc-2.38-44/lib64/ld-linux-x86-64.so.2 (0x00007fd26f127000)
Can you guide me how to create a shell.nix to run it?
Thanks