Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
988 B
Nix
57 lines
988 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchgit,
|
|
which,
|
|
SDL2,
|
|
SDL2_gfx,
|
|
SDL2_mixer,
|
|
SDL2_image,
|
|
SDL2_ttf,
|
|
SDL2_net,
|
|
python3,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tennix";
|
|
version = "1.3.4";
|
|
|
|
src = fetchgit {
|
|
url = "git://repo.or.cz/tennix.git";
|
|
tag = "tennix-${finalAttrs.version}";
|
|
hash = "sha256-siGfnpZPMYMTgYzaPVhNXEuA/OSWmEl891cLhvgGr7o=";
|
|
};
|
|
|
|
nativeBuildInputs = [ which ];
|
|
|
|
buildInputs = [
|
|
python3
|
|
SDL2
|
|
SDL2_gfx
|
|
SDL2_mixer
|
|
SDL2_image
|
|
SDL2_ttf
|
|
SDL2_net
|
|
];
|
|
|
|
configurePhase = ''
|
|
runHook preConfigure
|
|
|
|
./configure --prefix $out
|
|
|
|
runHook postConfigure
|
|
'';
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "tennix-"; };
|
|
|
|
meta = {
|
|
homepage = "https://icculus.org/tennix/";
|
|
description = "Classic Championship Tour 2011";
|
|
mainProgram = "tennix";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ pSub ];
|
|
};
|
|
})
|