diff --git a/pkgs/games/pong3d/default.nix b/pkgs/games/pong3d/default.nix new file mode 100644 index 000000000000..281bd8966f6f --- /dev/null +++ b/pkgs/games/pong3d/default.nix @@ -0,0 +1,22 @@ +{stdenv, fetchurl, libX11}: + +stdenv.mkDerivation { + name = "3dpong-0.5.0"; + 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 + ensureDir $out/bin + ''; + + meta = { + homepage = http://www.newbreedsoftware.com/3dpong/; + description = "One or two player 3d sports game based on Pong from Atari"; + license = "GPLv2+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37f0812f9939..10228769e75a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7399,6 +7399,8 @@ let pioneers = callPackage ../games/pioneers { }; + pong3d = callPackage ../games/pong3d { }; + prboom = callPackage ../games/prboom { }; quake3demo = callPackage ../games/quake3/wrapper {