2011-06-19 21:33:31 +00:00
|
|
|
{stdenv, fetchurl, libX11}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-07-13 19:34:04 +00:00
|
|
|
name = "3dpong-0.5";
|
2011-06-19 21:33:31 +00:00
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "ftp://ftp.tuxpaint.org/unix/x/3dpong/src/3dpong-0.5.tar.gz";
|
2011-06-19 21:33:31 +00:00
|
|
|
sha256 = "1ibb79sbzlbn4ra3n0qk22gqr6fg7q0jy6cm0wg2qj4z64c7hmdi";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2011-06-19 21:33:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.newbreedsoftware.com/3dpong/";
|
2011-06-19 21:33:31 +00:00
|
|
|
description = "One or two player 3d sports game based on Pong from Atari";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-06-19 21:33:31 +00:00
|
|
|
};
|
|
|
|
}
|