nixpkgs-suyu/pkgs/games/tennix/default.nix

28 lines
751 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python } :
stdenv.mkDerivation rec {
2021-06-22 23:44:58 +02:00
pname = "tennix";
version = "1.1";
src = fetchurl {
2021-06-22 23:44:58 +02:00
url = "https://icculus.org/tennix/downloads/tennix-${version}.tar.gz";
2015-09-06 21:16:33 +02:00
sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
};
2015-09-06 21:16:33 +02:00
buildInputs = [ python SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
patches = [ ./fix_FTBFS.patch ];
preConfigure = ''
2015-09-06 21:16:33 +02:00
makeFlags="PREFIX=$out"
installFlags="PREFIX=$out install"
'';
meta = with lib; {
homepage = "http://icculus.org/tennix/";
2015-09-06 21:16:33 +02:00
description = "Classic Championship Tour 2011";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}