nixpkgs/pkgs/games/xmoto/default.nix
Lluís Batlle i Rossell 1fd94f1935 Adding me as a comaintainer of xmoto.
svn path=/nixpkgs/trunk/; revision=19082
2009-12-23 18:37:44 +00:00

31 lines
685 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
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = [ "doPatch" "doConfigure" "doMakeInstall"];
patches = [ ./64bit-ftbs.patch ];
meta = {
description = "X-Moto - obstacled race game";
maintainers = [
a.lib.maintainers.raskin
a.lib.maintainers.viric
];
platforms = with a.lib.platforms;
linux ++ freebsd;
};
}