2021-01-15 05:31:39 +01:00
|
|
|
{lib, stdenv, fetchurl, libX11}:
|
2011-06-19 23:46:45 +02:00
|
|
|
|
2021-06-22 23:44:58 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "icbm3d";
|
|
|
|
version = "0.4";
|
2011-06-19 23:46:45 +02:00
|
|
|
src = fetchurl {
|
2021-06-22 23:44:58 +02:00
|
|
|
url = "ftp://ftp.tuxpaint.org/unix/x/icbm3d/icbm3d.${version}.tar.gz";
|
2011-06-19 23:46:45 +02:00
|
|
|
sha256 = "1z9q01mj0v9qbwby5cajjc9wpvdw2ma5v1r639vraxpl9qairm4s";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2011-06-19 23:46:45 +02:00
|
|
|
cp icbm3d $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.newbreedsoftware.com/icbm3d/";
|
2011-06-19 23:46:45 +02:00
|
|
|
description = "3D vector-based clone of the atari game Missile Command";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "icbm3d";
|
2021-01-15 05:31:39 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2011-06-19 23:46:45 +02:00
|
|
|
};
|
|
|
|
}
|