nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchgit, which, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python3 } :
2
3stdenv.mkDerivation rec {
4 pname = "tennix";
5 version = "1.3.1";
6
7 src = fetchgit {
8 url = "git://repo.or.cz/tennix.git";
9 rev = "refs/tags/tennix-${version}";
10 sha256 = "sha256-U5+S1jEeg+7gdM1++dln6ePTqxZu2Zt0oUrH3DIlkgk=";
11 };
12
13 nativeBuildInputs = [ which ];
14
15 buildInputs = [ python3 SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
16
17 configurePhase = ''
18 ./configure --prefix $out
19 '';
20
21 meta = with lib; {
22 homepage = "http://icculus.org/tennix/";
23 description = "Classic Championship Tour 2011";
24 license = licenses.gpl2Plus;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ pSub ];
27 };
28}