nixpkgs/pkgs/games/icbm3d/default.nix

25 lines
596 B
Nix
Raw Normal View History

2021-01-15 04:31:39 +00:00
{lib, stdenv, fetchurl, libX11}:
2021-06-22 22:44:58 +01:00
stdenv.mkDerivation rec {
pname = "icbm3d";
version = "0.4";
src = fetchurl {
2021-06-22 22:44:58 +01:00
url = "ftp://ftp.tuxpaint.org/unix/x/icbm3d/icbm3d.${version}.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";
2021-01-15 04:31:39 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}