2016-08-22 03:29:06 +00:00
|
|
|
{ stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, libpng, mesa, zlib }:
|
2015-10-30 23:34:20 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
versionMajor = "0.2.8";
|
|
|
|
versionMinor = "3.3";
|
|
|
|
version = "${versionMajor}.${versionMinor}";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "armagetron-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/armagetronad/${versionMajor}/0.2.8.3.x/+download/armagetronad-${version}.src.tar.bz2";
|
|
|
|
sha256 = "1s55irhg60fpmhy8wwxpdq7c45r1mqch6zpicyb2wf9ln60xgwnx";
|
|
|
|
};
|
|
|
|
|
2016-08-22 03:29:06 +00:00
|
|
|
NIX_LDFLAGS = [ "-lSDL_image" ];
|
2015-10-30 23:34:20 +00:00
|
|
|
|
2016-08-22 03:29:06 +00:00
|
|
|
configureFlags = [ "--disable-etc" ];
|
|
|
|
buildInputs = [ SDL SDL_image libxml2 libjpeg libpng mesa zlib ];
|
2015-10-30 23:34:20 +00:00
|
|
|
|
2015-11-02 14:33:32 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://armagetronad.org;
|
2015-10-30 23:34:20 +00:00
|
|
|
description = "An multiplayer networked arcade racing game in 3D similar to Tron";
|
2015-11-02 14:33:32 +00:00
|
|
|
license = licenses.gpl2;
|
2015-11-02 14:29:16 +00:00
|
|
|
platforms = platforms.linux;
|
2015-10-30 23:34:20 +00:00
|
|
|
};
|
|
|
|
}
|