2011-03-25 22:15:48 +00:00
|
|
|
{stdenv, fetchurl, allegro, openal, mesa, zlib, hawknl, freeglut, libX11,
|
|
|
|
libXxf86vm, libXcursor, libXpm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "fakenes-0.5.9b3";
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/fakenes/fakenes-0.5.9-beta3.tar.gz;
|
|
|
|
sha256 = "026h67s4pzc1vma59pmzk02iy379255qbai2q74wln9bxqcpniy4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ allegro openal mesa zlib hawknl freeglut libX11
|
|
|
|
libXxf86vm libXcursor libXpm ];
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lX11 -lXxf86vm -lXcursor -lXpm";
|
|
|
|
|
|
|
|
patches = [ ./build.patch ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://fakenes.sourceforge.net/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-03-25 22:15:48 +00:00
|
|
|
description = "Portable Open Source NES Emulator";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-03-25 22:15:48 +00:00
|
|
|
};
|
|
|
|
}
|