I suspect something is wrong with where python is expecting libSDL2-2.0.so.
One thing you could try is trying to figure out where libSDL2-2.0.so is and
ensuring that it's in your PATH environment variable during build time.
Looking at build log and using -K option during guix build will be helpful
I requesting for help with writing defenition for python retro game
engine[fn:1].
There are steps according to manual to build this engine[fn:2]:
1. Get sources with ~git clone https://github.com/kitao/pyxel~
2. "cd" to this dir
3. Invoke ~guix environment --pure --ad-hoc gcc make python python-