2015-05-02 21:13:26 +00:00
|
|
|
{ stdenv, fetchurl, chipmunk, sqlite, curl, zlib, bzip2, libjpeg
|
2018-02-24 13:12:44 +00:00
|
|
|
, libpng, freeglut, libGLU_combined, SDL, SDL_mixer, SDL_image, SDL_net
|
2015-05-02 21:13:26 +00:00
|
|
|
, SDL_ttf, lua5, ode, libxdg_basedir, libxml2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xmoto-${version}";
|
|
|
|
version = "0.5.11";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz";
|
2015-05-02 21:13:26 +00:00
|
|
|
sha256 = "1ci6r8zd0l7z28cy92ddf9dmqbdqwinz2y1cny34c61b57wsd155";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2008-11-30 17:15:29 +00:00
|
|
|
chipmunk sqlite curl zlib bzip2 libjpeg libpng
|
2018-03-05 11:49:52 +00:00
|
|
|
freeglut libGLU_combined SDL SDL_mixer SDL_image SDL_net SDL_ttf
|
2012-01-08 23:31:31 +00:00
|
|
|
lua5 ode libxdg_basedir libxml2
|
2008-11-30 17:15:29 +00:00
|
|
|
];
|
2012-01-08 23:31:31 +00:00
|
|
|
|
2018-03-02 06:35:18 +00:00
|
|
|
CXXFLAGS = [ "-fpermissive" ];
|
|
|
|
|
2015-05-02 21:13:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Obstacled race game";
|
|
|
|
homepage = http://xmoto.tuxfamily.org;
|
2018-07-22 19:50:19 +00:00
|
|
|
maintainers = with maintainers; [ raskin pSub ];
|
2015-05-02 21:13:26 +00:00
|
|
|
platforms = platforms.linux;
|
2018-07-22 15:08:30 +00:00
|
|
|
license = licenses.gpl2;
|
2008-11-30 17:15:29 +00:00
|
|
|
};
|
|
|
|
}
|