SDL2_gfx
SDL2_gfx 1.0.4
SDL graphics drawing primitives and support functions
<rendered-html><p>The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing routines such as lines, circles or polygons and SDL_rotozoom which implemented a interpolating rotozoomer for SDL surfaces.</p> <p>The current components of the SDL_gfx library are:</p> <ul> <li>Graphic Primitives (SDL_gfxPrimitves.h)</li> <li>Rotozoomer (SDL_rotozoom.h)</li> <li>Framerate control (SDL_framerate.h)</li> <li>MMX image filters (SDL_imageFilter.h)</li> <li>Custom Blit functions (SDL_gfxBlitFunc.h)</li> </ul> <p>The library is backwards compatible to the above mentioned code. Its is written in plain C and can be used in C++ code.</p> </rendered-html>
http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/Install
Copy into your configuration
environment.systemPackages = with pkgs; [ SDL2_gfx ];
nix-shell -p SDL2_gfx
nix run nixpkgs#SDL2_gfx