A Lua binary module, for accessing SDL from Lua scripts. SDL stands for "Simple DirectMedia? Layer", and is a comprehensive, open-source, cross-platform multimedia API that can be used to produce professional-quality games. 
luarocks install lua-sdl2
Make sure the libsdl development packages for SDL 2 are installed in your machine.