2019-11-10 16:44:34 +00:00
|
|
|
{stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11,
|
2011-03-25 22:15:48 +00:00
|
|
|
libXxf86vm, libXcursor, libXpm }:
|
|
|
|
|
2017-09-28 15:11:42 +00:00
|
|
|
stdenv.mkDerivation {
|
2011-03-25 22:15:48 +00:00
|
|
|
name = "fakenes-0.5.9b3";
|
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://sourceforge/fakenes/fakenes-0.5.9-beta3.tar.gz";
|
2011-03-25 22:15:48 +00:00
|
|
|
sha256 = "026h67s4pzc1vma59pmzk02iy379255qbai2q74wln9bxqcpniy4";
|
|
|
|
};
|
|
|
|
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ allegro openal libGLU libGL zlib hawknl freeglut libX11
|
2011-03-25 22:15:48 +00:00
|
|
|
libXxf86vm libXcursor libXpm ];
|
|
|
|
|
2016-08-04 07:26:31 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2011-03-25 22:15:48 +00:00
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin
|
2011-03-25 22:15:48 +00:00
|
|
|
cp fakenes $out/bin
|
|
|
|
'';
|
|
|
|
|
2017-09-28 15:11:42 +00:00
|
|
|
NIX_LDFLAGS = "-lX11 -lXxf86vm -lXcursor -lXpm";
|
2011-03-25 22:15:48 +00:00
|
|
|
|
|
|
|
patches = [ ./build.patch ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://fakenes.sourceforge.net/";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-03-25 22:15:48 +00:00
|
|
|
description = "Portable Open Source NES Emulator";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-09-28 15:11:42 +00:00
|
|
|
broken = true;
|
2011-03-25 22:15:48 +00:00
|
|
|
};
|
|
|
|
}
|