mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
624 B
Nix
26 lines
624 B
Nix
{lib, stdenv, fetchurl, libX11}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "icbm3d";
|
|
version = "0.4";
|
|
src = fetchurl {
|
|
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";
|
|
mainProgram = "icbm3d";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|