2022-12-06 22:06:58 +01:00
|
|
|
{ lib, stdenv, fetchgit, which, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python3 } :
|
2010-02-01 20:55:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 23:44:58 +02:00
|
|
|
pname = "tennix";
|
2022-12-06 22:06:58 +01:00
|
|
|
version = "1.3.1";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2022-12-08 07:56:44 +01:00
|
|
|
url = "git://repo.or.cz/tennix.git";
|
2022-12-06 22:06:58 +01:00
|
|
|
rev = "refs/tags/tennix-${version}";
|
|
|
|
sha256 = "sha256-U5+S1jEeg+7gdM1++dln6ePTqxZu2Zt0oUrH3DIlkgk=";
|
2010-02-01 20:55:03 +01:00
|
|
|
};
|
|
|
|
|
2022-12-06 22:06:58 +01:00
|
|
|
nativeBuildInputs = [ which ];
|
2015-09-06 21:16:33 +02:00
|
|
|
|
2022-12-06 22:06:58 +01:00
|
|
|
buildInputs = [ python3 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
|
2010-02-01 20:55:03 +01:00
|
|
|
|
2022-12-06 22:06:58 +01:00
|
|
|
configurePhase = ''
|
|
|
|
./configure --prefix $out
|
2010-02-01 20:55:03 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
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 ];
|
2010-02-01 20:55:03 +01:00
|
|
|
};
|
|
|
|
}
|