nixpkgs/pkgs/games/gltron/default.nix
Anderson Torres 9a624d10e3 treewide: remove viric from meta.maintainers [orphans]
Since theey is not active from at least six years.

All the packages on this commit became orphans.

---------------------------------------------------------------------------
There are files not covered by this commit, because they will be adopted
soon. Namely:

- pkgs/by-name/zs/zsync/package.nix
- pkgs/games/bsdgames/default.nix
- pkgs/misc/ghostscript/default.nix
- pkgs/os-specific/linux/kernel/perf/default.nix
- pkgs/tools/system/logrotate/default.nix
2024-07-28 11:48:51 -03:00

32 lines
935 B
Nix

{lib, stdenv, fetchurl, SDL, libGLU, libGL, zlib, libpng, libvorbis, libmikmod, SDL_sound } :
stdenv.mkDerivation rec {
pname = "gltron";
version = "0.70";
src = fetchurl {
url = "mirror://sourceforge/gltron/gltron-${version}-source.tar.gz";
sha256 = "e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0";
};
patches = [ ./gentoo-prototypes.patch ];
postPatch = ''
# Fix https://sourceforge.net/p/gltron/bugs/15
sed -i /__USE_MISC/d lua/src/lib/liolib.c
'';
# The build fails, unless we disable the default -Wall -Werror
configureFlags = [ "--disable-warn" ];
buildInputs = [ SDL libGLU libGL zlib libpng libvorbis libmikmod SDL_sound ];
meta = {
homepage = "http://www.gltron.org/";
description = "Game based on the movie Tron";
mainProgram = "gltron";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = with lib.platforms; linux;
};
}