12 stdenv.mkDerivation rec {
13 name = "numptyphysics";
15 src = fetchFromGitLab {
17 repo = "numptyphysics";
19 sha256 = "sha256-YKdUK0ea1lazyaRIj3MMA0wtBKLI4fWAkSU8L53PQpg=";
21 nativeBuildInputs = [ pkg-config ];
22 buildInputs = [ SDL SDL_image SDL_ttf glib libGL ];
23 enableParallelBuilding = true;
24 makeFlags = [ "PLATFORM=sdl1" "V=1" "DESTDIR=$(out)" "PREFIX=''" ];
27 maintainers = [ lib.maintainers.schmittlauch ];
28 license = lib.licenses.gpl3Plus;
29 description = "a drawing puzzle game based on construction and physics puzzles";
31 Harness gravity with your crayon and set about creating blocks, ramps, levers, pulleys and whatever else you fancy to get the little red thing to the little yellow thing.
33 Numpty Physics is a drawing puzzle game in the spirit (and style?) of Crayon Physics using the same excellent Box2D engine. Note though that I've not actually played CP so the experience may be very different. Numpty Physics includes a built-in editor so that you may build (and submit) your own levels.