nixpkgs/pkgs/games/tennix/default.nix

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

30 lines
761 B
Nix
Raw Normal View History

2022-12-06 21:06:58 +00:00
{ lib, stdenv, fetchgit, which, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python3 } :
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 {
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=";
};
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 ];
2022-12-06 21:06:58 +00:00
configurePhase = ''
./configure --prefix $out
'';
meta = with lib; {
homepage = "http://icculus.org/tennix/";
2015-09-06 19:16:33 +00:00
description = "Classic Championship Tour 2011";
mainProgram = "tennix";
2015-09-06 19:16:33 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}