3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/pong3d/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
618 B
Nix
Raw Normal View History

2021-01-15 04:31:39 +00:00
{lib, stdenv, fetchurl, libX11}:
2021-06-22 22:44:58 +01:00
stdenv.mkDerivation rec {
pname = "3dpong";
version = "0.5";
src = fetchurl {
2021-06-22 22:44:58 +01:00
url = "ftp://ftp.tuxpaint.org/unix/x/3dpong/src/3dpong-${version}.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";
2021-01-15 04:31:39 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
};
}