1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/games/btanks/default.nix
Lluís Batlle i Rossell 497fc7bb94 Making btanks work (and adding smpeg).
svn path=/nixpkgs/trunk/; revision=26585
2011-03-28 18:58:49 +00:00

28 lines
642 B
Nix

{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+";
};
}