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

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

28 lines
753 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python2 } :
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";
};
buildInputs = [ python2 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
2015-09-06 21:16:33 +02:00
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 ];
};
}