about summary refs log tree commit diff
path: root/pkgs/games/icbm3d/default.nix
blob: ba9173c04921b1fc32317734b033e10bfc63e941 (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
{stdenv, fetchurl, libX11}:

stdenv.mkDerivation {
  name = "icbm3d-0.4";
  src = fetchurl {
    url = ftp://ftp.tuxpaint.org/unix/x/icbm3d/icbm3d.0.4.tar.gz;
    sha256 = "1z9q01mj0v9qbwby5cajjc9wpvdw2ma5v1r639vraxpl9qairm4s";
  };

  buildInputs = [ libX11 ];

  installPhase = ''
    mkdir -p $out/bin
    cp icbm3d $out/bin
  '';

  meta = {
    homepage = http://www.newbreedsoftware.com/icbm3d/;
    description = "3D vector-based clone of the atari game Missile Command";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.linux;
  };
}