depot/third_party/nixpkgs/pkgs/games/pong3d/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

23 lines
591 B
Nix

{lib, stdenv, fetchurl, libX11}:
stdenv.mkDerivation {
name = "3dpong-0.5";
src = fetchurl {
url = "ftp://ftp.tuxpaint.org/unix/x/3dpong/src/3dpong-0.5.tar.gz";
sha256 = "1ibb79sbzlbn4ra3n0qk22gqr6fg7q0jy6cm0wg2qj4z64c7hmdi";
};
buildInputs = [ libX11 ];
preConfigure = ''
sed -i s,/usr/local,$out, Makefile
mkdir -p $out/bin
'';
meta = {
homepage = "http://www.newbreedsoftware.com/3dpong/";
description = "One or two player 3d sports game based on Pong from Atari";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}