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