1 { stdenv, lib, fetchFromGitHub, cmake, nasm
2 , gtk2, glib, ffmpeg, alsa-lib, libmad, libogg, libvorbis
3 , glew, libpulseaudio, udev
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
14 sha256 = "0a7y9l7xm510vgnpmj1is7p9m6d6yd0fcaxrjcickz295k5w3rdn";
18 ./0001-fix-build-with-ffmpeg-4.patch
21 nativeBuildInputs = [ cmake nasm ];
24 gtk2 glib ffmpeg alsa-lib libmad libogg libvorbis
25 glew libpulseaudio udev
29 "-DWITH_SYSTEM_FFMPEG=1"
30 "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
31 "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
36 ln -s $out/stepmania-5.1/stepmania $out/bin/stepmania
40 homepage = "https://www.stepmania.com/";
41 description = "Free dance and rhythm game for Windows, Mac, and Linux";
42 platforms = platforms.linux;
43 license = licenses.mit; # expat version