1 { lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_ttf, gettext, zlib, SDL2_mixer, SDL2_image, guile, libGLU, libGL }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-JKSiNe5mu8rRztUhduGFY6IsSMx6VyBqKcGO5EssI+8=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ zlib SDL2 SDL2_ttf SDL2_mixer SDL2_image guile gettext libGLU libGL ];
18 homepage = "https://trackballs.github.io/";
19 description = "3D Marble Madness clone";
20 mainProgram = "trackballs";
21 platforms = platforms.linux;
22 # Music is licensed under Ethymonics Free Music License.
23 license = licenses.gpl2Plus;