mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
c403364c06
svn path=/nixpkgs/trunk/; revision=31447
32 lines
697 B
Nix
32 lines
697 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 = with a.lib.platforms;
|
|
linux ++ freebsd;
|
|
};
|
|
}
|