2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python } :
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-28 23:13:55 +00:00
|
|
|
pname = "tennix";
|
|
|
|
version = "1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-06-28 23:13:55 +00:00
|
|
|
url = "https://icculus.org/tennix/downloads/tennix-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
|
|
|
|
|
|
|
|
patches = [ ./fix_FTBFS.patch ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags="PREFIX=$out"
|
|
|
|
installFlags="PREFIX=$out install"
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://icculus.org/tennix/";
|
|
|
|
description = "Classic Championship Tour 2011";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|