nixpkgs-suyu/pkgs/games/xmoto/default.nix
Lluís Batlle i Rossell 59d6b60e46 We don't have mesa for freebsd, so don't tell hydra to build xmoto for freebsd.
svn path=/nixpkgs/trunk/; revision=33050
2012-03-13 21:48:12 +00:00

30 lines
673 B
Nix

a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
chipmunk sqlite curl zlib bzip2 libjpeg libpng
freeglut mesa SDL SDL_mixer SDL_image SDL_net SDL_ttf
lua5 ode libxdg_basedir libxml2
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = [ "doPatch" "doConfigure" "doMakeInstall"];
patches = [ ./r3402.patch ];
meta = {
description = "X-Moto - obstacled race game";
maintainers = [
a.lib.maintainers.raskin
a.lib.maintainers.viric
];
platforms = a.lib.platforms.linux;
};
}