mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
92b4f17380
It's not allowed anymore: https://hydra.nixos.org/build/201125718 This amends PR #204859
29 lines
733 B
Nix
29 lines
733 B
Nix
{ lib, stdenv, fetchgit, which, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python3 } :
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tennix";
|
|
version = "1.3.1";
|
|
|
|
src = fetchgit {
|
|
url = "git://repo.or.cz/tennix.git";
|
|
rev = "refs/tags/tennix-${version}";
|
|
sha256 = "sha256-U5+S1jEeg+7gdM1++dln6ePTqxZu2Zt0oUrH3DIlkgk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
buildInputs = [ python3 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
|
|
|
|
configurePhase = ''
|
|
./configure --prefix $out
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "http://icculus.org/tennix/";
|
|
description = "Classic Championship Tour 2011";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|