2009-09-13 20:31:33 +02:00
|
|
|
a :
|
2008-11-30 18:15:29 +01:00
|
|
|
let
|
2009-09-13 20:31:33 +02:00
|
|
|
s = import ./src-for-default.nix;
|
|
|
|
buildInputs = with a; [
|
2008-11-30 18:15:29 +01:00
|
|
|
chipmunk sqlite curl zlib bzip2 libjpeg libpng
|
|
|
|
freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
|
2012-01-09 00:31:31 +01:00
|
|
|
lua5 ode libxdg_basedir libxml2
|
2008-11-30 18:15:29 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
2009-09-13 20:31:33 +02:00
|
|
|
src = a.fetchUrlFromSrcInfo s;
|
2008-11-30 18:15:29 +01:00
|
|
|
|
2009-09-13 20:31:33 +02:00
|
|
|
inherit (s) name;
|
2008-11-30 18:15:29 +01:00
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
2009-09-13 20:31:33 +02:00
|
|
|
/* doConfigure should be removed if not needed */
|
2009-12-23 19:34:46 +01:00
|
|
|
phaseNames = [ "doPatch" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2012-01-09 00:31:31 +01:00
|
|
|
patches = [ ./r3402.patch ];
|
|
|
|
|
2008-11-30 18:15:29 +01:00
|
|
|
meta = {
|
|
|
|
description = "X-Moto - obstacled race game";
|
2009-09-13 20:31:33 +02:00
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.raskin
|
2009-12-23 19:37:44 +01:00
|
|
|
a.lib.maintainers.viric
|
2009-09-13 20:31:33 +02:00
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux ++ freebsd;
|
2008-11-30 18:15:29 +01:00
|
|
|
};
|
|
|
|
}
|