From 6efcb7a0e3281fca87d8c6499c85a8d45351a3ea Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 15 Jul 2022 22:55:45 +0800 Subject: [PATCH] libretro.nxengine: init at unstable-2022-04-21 --- pkgs/applications/emulators/retroarch/cores.nix | 7 +++++++ pkgs/applications/emulators/retroarch/hashes.json | 6 ++++++ pkgs/applications/emulators/retroarch/update_cores.py | 1 + 3 files changed, 14 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 9a2f7e07102f..ed47c579d642 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -588,6 +588,13 @@ in preBuild = "cd libretro"; }; + nxengine = mkLibRetroCore { + core = "nxengine"; + description = "NXEngine libretro port"; + license = lib.licenses.gpl3Only; + makefile = "Makefile"; + }; + np2kai = mkLibRetroCore rec { core = "np2kai"; src = getCoreSrc core; diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 80e4e278c945..41649cbf4c00 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -307,6 +307,12 @@ "sha256": "M3kGA1TU3xui6of9XgUspI+Zf+hjYP1d2mgKwxsy3IQ=", "fetchSubmodules": true }, + "nxengine": { + "owner": "libretro", + "repo": "nxengine-libretro", + "rev": "bc692a392473a45f63cdccbb353c3445b530d671", + "sha256": "tAZkYHRKL+mI6f7YCnaU0qTSOZGW2o20p6wovMK1n2k=" + }, "o2em": { "owner": "libretro", "repo": "libretro-o2em", diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py index c6c44926fc82..bb6fd2884a50 100755 --- a/pkgs/applications/emulators/retroarch/update_cores.py +++ b/pkgs/applications/emulators/retroarch/update_cores.py @@ -59,6 +59,7 @@ CORES = { "mupen64plus": {"repo": "mupen64plus-libretro-nx"}, "neocd": {"repo": "neocd_libretro"}, "nestopia": {"repo": "nestopia"}, + "nxengine": {"repo": "nxengine-libretro"}, "np2kai": {"repo": "NP2kai", "owner": "AZO234", "fetch_submodules": True}, "o2em": {"repo": "libretro-o2em"}, "opera": {"repo": "opera-libretro"},