Merge pull request #10732 from leenaars/addition/armagetronad
Armagetronad: init at version 0.2.8.3.3
This commit is contained in:
commit
85dfb151c2
2 changed files with 29 additions and 0 deletions
27
pkgs/games/armagetronad/default.nix
Normal file
27
pkgs/games/armagetronad/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, mesa, zlib} :
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-lSDL_image";
|
||||
|
||||
configureFlags ="--disable-etc";
|
||||
buildInputs = [SDL SDL_image libxml2 libjpeg mesa zlib];
|
||||
|
||||
meta = {
|
||||
homepage = http://armagetronad.org;
|
||||
description = "An multiplayer networked arcade racing game in 3D similar to Tron";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -13718,6 +13718,8 @@ let
|
|||
|
||||
anki = callPackage ../games/anki { };
|
||||
|
||||
armagetronad = callPackage ../games/armagetronad { };
|
||||
|
||||
asc = callPackage ../games/asc {
|
||||
lua = lua5_1;
|
||||
libsigcxx = libsigcxx12;
|
||||
|
|
Loading…
Reference in a new issue