nixpkgs/pkgs/games/icbm3d/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

23 lines
510 B
Nix

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