3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/emulators/fakenes/default.nix

35 lines
882 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{lib, stdenv, fetchurl, allegro, openal, libGLU, libGL, zlib, hawknl, freeglut, libX11,
libXxf86vm, libXcursor, libXpm }:
2021-08-12 22:00:21 +01:00
stdenv.mkDerivation rec {
pname = "fakenes";
version = "0.5.9-beta3";
src = fetchurl {
2021-08-12 22:00:21 +01:00
url = "mirror://sourceforge/fakenes/fakenes-${version}.tar.gz";
sha256 = "026h67s4pzc1vma59pmzk02iy379255qbai2q74wln9bxqcpniy4";
};
2019-11-10 16:44:34 +00:00
buildInputs = [ allegro openal libGLU libGL zlib hawknl freeglut libX11
libXxf86vm libXcursor libXpm ];
2016-08-04 08:26:31 +01:00
hardeningDisable = [ "format" ];
installPhase = ''
mkdir -p $out/bin
cp fakenes $out/bin
'';
2017-09-28 16:11:42 +01:00
NIX_LDFLAGS = "-lX11 -lXxf86vm -lXcursor -lXpm";
patches = [ ./build.patch ];
meta = {
homepage = "http://fakenes.sourceforge.net/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
description = "Portable Open Source NES Emulator";
2021-01-15 13:21:58 +00:00
platforms = lib.platforms.linux;
2017-09-28 16:11:42 +01:00
broken = true;
};
}