1 { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, gettext, makeWrapper, bzip2
2 , curl, libjpeg, libxml2, xz, lua, ode, libGL, libpng, SDL, SDL_mixer, SDL_net
3 , SDL_ttf, sqlite, libxdg_basedir, zlib }:
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "00f5ha79lfa2iiaz66wl0hl5dapa1l15qdr7m7knzi0ll7j6z66n";
19 url = "https://github.com/xmoto/xmoto/commit/536dcc7ec77a4c4c454b86220e85b1cb3cd1c7f7.patch";
20 sha256 = "0h9lld668jrbmrqva89zqwp63jiagjj86prkxzx6372p3kk9y7g7";
50 wrapProgram "$out/bin/xmoto" \
51 --prefix XDG_DATA_DIRS : "$out/share/"
55 description = "A challenging 2D motocross platform game, where physics play an important role";
57 X-Moto is a challenging 2D motocross platform game, where physics plays an all important role in the gameplay.
58 You need to control your bike to its limits, if you want to have a chance to finish the most difficult challenges.
60 homepage = "https://xmoto.tuxfamily.org";
61 maintainers = with maintainers; [ raskin pSub ];
62 platforms = platforms.all;
63 license = licenses.gpl2Plus;