2021-01-15 05:31:39 +01:00
|
|
|
{lib, stdenv, fetchurl, libX11}:
|
2011-06-19 23:33:31 +02:00
|
|
|
|
2021-06-22 23:44:58 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "3dpong";
|
|
|
|
version = "0.5";
|
2011-06-19 23:33:31 +02:00
|
|
|
src = fetchurl {
|
2021-06-22 23:44:58 +02:00
|
|
|
url = "ftp://ftp.tuxpaint.org/unix/x/3dpong/src/3dpong-${version}.tar.gz";
|
2011-06-19 23:33:31 +02:00
|
|
|
sha256 = "1ibb79sbzlbn4ra3n0qk22gqr6fg7q0jy6cm0wg2qj4z64c7hmdi";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i s,/usr/local,$out, Makefile
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2011-06-19 23:33:31 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.newbreedsoftware.com/3dpong/";
|
2011-06-19 23:33:31 +02:00
|
|
|
description = "One or two player 3d sports game based on Pong from Atari";
|
2021-01-15 05:31:39 +01:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2011-06-19 23:33:31 +02:00
|
|
|
};
|
|
|
|
}
|