nixpkgs/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 22:44:58 +01:00
pname = "tennix";
version = "1.1";
src = fetchurl {
2021-06-22 22:44:58 +01:00
url = "https://icculus.org/tennix/downloads/tennix-${version}.tar.gz";
2015-09-06 20:16:33 +01:00
sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
};
buildInputs = [ python2 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
2015-09-06 20:16:33 +01:00
patches = [ ./fix_FTBFS.patch ];
preConfigure = ''
2015-09-06 20:16:33 +01:00
makeFlags="PREFIX=$out"
installFlags="PREFIX=$out install"
'';
meta = with lib; {
homepage = "http://icculus.org/tennix/";
2015-09-06 20:16:33 +01:00
description = "Classic Championship Tour 2011";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}