Updating XMoto (and adding some functionality to upstream tracking system)

svn path=/nixpkgs/trunk/; revision=17100
This commit is contained in:
Michael Raskin
2009-09-13 18:31:33 +00:00
parent 00343dac28
commit 125600079d
5 changed files with 34 additions and 13 deletions
+11 -12
View File
@@ -1,29 +1,28 @@
args :
a :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.attrByPath ["version"] "0.5.1" args;
buildInputs = with args; [
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 = fetchurl {
url = "http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz";
sha256 = "1clfw4kr34gda9ml427n8mdkhj0hhlldibiq1ay88glqqwvgj2j2";
};
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "xmoto-" + version;
meta = {
description = "X-Moto - obstacled race game";
maintainers = [
a.lib.maintainers.raskin
];
platforms = with a.lib.platforms;
linux ++ freebsd;
};
}