2022-12-06 21:06:58 +00:00
|
|
|
{ lib, stdenv, fetchgit, which, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python3 } :
|
2010-02-01 19:55:03 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 21:44:58 +00:00
|
|
|
pname = "tennix";
|
2022-12-06 21:06:58 +00:00
|
|
|
version = "1.3.1";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2022-12-08 06:56:44 +00:00
|
|
|
url = "git://repo.or.cz/tennix.git";
|
2022-12-06 21:06:58 +00:00
|
|
|
rev = "refs/tags/tennix-${version}";
|
|
|
|
sha256 = "sha256-U5+S1jEeg+7gdM1++dln6ePTqxZu2Zt0oUrH3DIlkgk=";
|
2010-02-01 19:55:03 +00:00
|
|
|
};
|
|
|
|
|
2022-12-06 21:06:58 +00:00
|
|
|
nativeBuildInputs = [ which ];
|
2015-09-06 19:16:33 +00:00
|
|
|
|
2022-12-06 21:06:58 +00:00
|
|
|
buildInputs = [ python3 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
|
2010-02-01 19:55:03 +00:00
|
|
|
|
2022-12-06 21:06:58 +00:00
|
|
|
configurePhase = ''
|
|
|
|
./configure --prefix $out
|
2010-02-01 19:55:03 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://icculus.org/tennix/";
|
2015-09-06 19:16:33 +00:00
|
|
|
description = "Classic Championship Tour 2011";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "tennix";
|
2015-09-06 19:16:33 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2010-02-01 19:55:03 +00:00
|
|
|
};
|
|
|
|
}
|