libretro.snes9x2010: move to retroarch/cores

This commit is contained in:
Thiago Kenji Okada 2024-11-20 14:46:37 +00:00
parent 933b4db84b
commit 5819c9c742
2 changed files with 25 additions and 8 deletions

View File

@ -246,14 +246,7 @@ lib.makeScope newScope (self: rec {
snes9x2005-plus = self.snes9x2005.override { withBlarggAPU = true; };
snes9x2010 = mkLibretroCore {
core = "snes9x2010";
meta = {
description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro";
# Non-commercial clause
license = lib.licenses.unfreeRedistributable;
};
};
snes9x2010 = self.callPackage ./cores/snes9x2010.nix { };
stella = mkLibretroCore {
core = "stella";

View File

@ -0,0 +1,24 @@
{
lib,
fetchFromGitHub,
mkLibretroCore,
}:
mkLibretroCore rec {
core = "snes9x2010";
version = "unstable-2024-11-18";
src = fetchFromGitHub {
owner = "libretro";
repo = "snes9x2010";
rev = "f9ae8fd28b13070a945a829ccf41cbf90a21d0f7";
hash = "sha256-nsExAYnzDenPvXzeN60jGykRTrCGMi/mRPV+vgS8ZtE=";
};
makeFlags = [ "GIT_VERSION=${builtins.substring 0 7 src.rev}" ];
meta = {
description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro";
homepage = "https://github.com/libretro/snes9x2010";
license = lib.licenses.unfreeRedistributable;
};
}