summary refs log tree commit diff
path: root/pkgs/games/btanks/default.nix
blob: 7172d4c81478ed18ea0400e5d17b0d33aea63020 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchurl, scons, pkgconfig, SDL, mesa, zlib }:

throw "Still does not build. It needs smpeg"

stdenv.mkDerivation rec {
  name = "battle-tanks-0.9.8083";

  src = fetchurl {
    url = mirror://sourceforge/btanks/btanks-0.9.8083.tar.bz2;
    sha256 = "0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz";
  };

  /* It still does not build */
  buildInputs = [ scons pkgconfig SDL mesa zlib ];

  installPhase = ''
    scons PREFIX=$out
    scons PREFIX=$out install
  '';

  meta = {
    homepage = http://sourceforge.net/projects/btanks/;
    description = "Fast 2d tank arcade game";
    license = "GPLv2+";
  };
}