diff --git a/pkgs/games/stepmania/default.nix b/pkgs/games/stepmania/default.nix index 9ba78c0ab14a..cd59f96037fb 100644 --- a/pkgs/games/stepmania/default.nix +++ b/pkgs/games/stepmania/default.nix @@ -1,24 +1,24 @@ { stdenv, lib, fetchpatch, fetchFromGitHub, cmake, nasm , gtk2, glib, ffmpeg, alsaLib, libmad, libogg, libvorbis -, glew, libpulseaudio +, glew, libpulseaudio, udev }: stdenv.mkDerivation rec { name = "stepmania-${version}"; - version = "5.0.10"; + version = "5.0.12"; src = fetchFromGitHub { owner = "stepmania"; repo = "stepmania"; rev = "v${version}"; - sha256 = "174gzvk42gwm56hpkz51csad9xi4dg466xv0mf1z39xd7mqd5j5w"; + sha256 = "0ig5pnw78j45b35kfr76phaqbac9b2f6wg3c63l6mf0nrq17wslz"; }; nativeBuildInputs = [ cmake nasm ]; buildInputs = [ gtk2 glib ffmpeg alsaLib libmad libogg libvorbis - glew libpulseaudio + glew libpulseaudio udev ]; cmakeFlags = [ @@ -27,14 +27,6 @@ stdenv.mkDerivation rec { "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" ]; - patches = [ - # Fix compilation on i686 - (fetchpatch { - url = "https://github.com/stepmania/stepmania/commit/f1e114aa03c90884946427bb43a75badec21f163.patch"; - sha256 = "1cm14w92dilqvlyqfffiihf09ra97hxzgfal5gx08brc3j1yyzdw"; - }) - ]; - postInstall = '' mkdir -p $out/bin ln -s $out/stepmania-5.0/stepmania $out/bin/stepmania