This package contains the bindings for SDL2 to Nim.
You must install the SDL2 C libraries before these Nim bindings can be used.
If you don't already have Homebrew installed, install it from the Homebrew site.
Install the SDL2 C libraries:
brew install sdl2{,_gfx,_image,_mixer,_net,_ttf}
Install SDL2 development libraries using your distribution's packaging tool of choice.
TODO
Add requires "sdl2"
to your .nimble
file.
You can also install manually with nimble install sdl2
if your project does not yet have a nimble package file.
For more information on using nimble, consult the nim documentation.
For documentation about SDL2 see wiki.libsdl.org.