1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/games/btanks/default.nix

28 lines
642 B
Nix
Raw Normal View History

{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib, smpeg, SDL_image, libvorbis, lua5, zip }:
stdenv.mkDerivation rec {
name = "battle-tanks-0.9.8083";
src = fetchurl {
url = mirror://sourceforge/btanks/btanks-0.9.8083.tar.bz2;
sha256 = "0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz";
};
buildInputs = [ scons pkgconfig SDL mesa zlib smpeg SDL_image libvorbis lua5
zip ];
buildPhase = ''
scons prefix=$out
'';
installPhase = ''
scons install
'';
meta = {
homepage = http://sourceforge.net/projects/btanks/;
description = "Fast 2d tank arcade game";
license = "GPLv2+";
};
}