SDL

sdl12-compat 1.2.78

Cross-platform multimedia library - build SDL 1.2 applications against 2.0

https://www.libsdl.org/
zlib License
main program: sdl-configprograms: sdl-config
Platforms (79)
s390x-linuxaarch64-darwinmipsel-linuxsh4-linuxriscv32-nonem68k-netbsdx86_64-redoxi686-netbsd
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  SDL
];
Ad-hoc shell
nix-shell -p SDL
Flake (nix run)
nix run nixpkgs#SDL