2011-03-28 22:58:49 +04:00
|
|
|
{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib, smpeg, SDL_image, libvorbis, lua5, zip }:
|
2011-03-28 01:18:05 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "battle-tanks-0.9.8083";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/btanks/btanks-0.9.8083.tar.bz2;
|
|
|
|
sha256 = "0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz";
|
|
|
|
};
|
|
|
|
|
2011-03-28 22:58:49 +04:00
|
|
|
buildInputs = [ scons pkgconfig SDL mesa zlib smpeg SDL_image libvorbis lua5
|
|
|
|
zip ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
scons prefix=$out
|
|
|
|
'';
|
2011-03-28 01:18:05 +04:00
|
|
|
|
|
|
|
installPhase = ''
|
2011-03-28 22:58:49 +04:00
|
|
|
scons install
|
2011-03-28 01:18:05 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2011-03-28 01:26:51 +04:00
|
|
|
homepage = http://sourceforge.net/projects/btanks/;
|
2011-03-28 01:18:05 +04:00
|
|
|
description = "Fast 2d tank arcade game";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-03-28 01:18:05 +04:00
|
|
|
};
|
|
|
|
}
|