libretro.bsnes-mercury{,-balanced,-performance}: move to retroarch/cores

This commit is contained in:
Thiago Kenji Okada 2024-11-19 12:49:33 +00:00
parent aac2ac2dbc
commit 813002b411
2 changed files with 29 additions and 30 deletions

View File

@ -121,38 +121,11 @@ lib.makeScope newScope (self: rec {
bsnes-hd = self.callPackage ./cores/bsnes-hd.nix { };
bsnes-mercury = mkLibretroCore {
core = "bsnes-mercury-accuracy";
repo = "bsnes-mercury";
makefile = "Makefile";
makeFlags = [ "PROFILE=accuracy" ];
meta = {
description = "Fork of bsnes with HLE DSP emulation restored (accuracy profile)";
license = lib.licenses.gpl3Only;
};
};
bsnes-mercury = self.callPackage ./cores/bsnes-mercury.nix { };
bsnes-mercury-balanced = mkLibretroCore {
core = "bsnes-mercury-balanced";
repo = "bsnes-mercury";
makefile = "Makefile";
makeFlags = [ "PROFILE=balanced" ];
meta = {
description = "Fork of bsnes with HLE DSP emulation restored (balanced profile)";
license = lib.licenses.gpl3Only;
};
};
bsnes-mercury-balanced = self.bsnes-mercury.override { withProfile = "balanced"; };
bsnes-mercury-performance = mkLibretroCore {
core = "bsnes-mercury-performance";
repo = "bsnes-mercury";
makefile = "Makefile";
makeFlags = [ "PROFILE=performance" ];
meta = {
description = "Fork of bsnes with HLE DSP emulation restored (performance profile)";
license = lib.licenses.gpl3Only;
};
};
bsnes-mercury-performance = self.bsnes-mercury.override { withProfile = "performance"; };
citra = mkLibretroCore rec {
core = "citra";

View File

@ -0,0 +1,26 @@
{
lib,
fetchFromGitHub,
mkLibretroCore,
withProfile ? "accuracy",
}:
mkLibretroCore {
core = "bsnes-mercury-${withProfile}";
version = "unstable-2024-10-21";
src = fetchFromGitHub {
owner = "libretro";
repo = "bsnes-mercury";
rev = "0f35d044bf2f2b879018a0500e676447e93a1db1";
hash = "sha256-skVREKYITZn+gKKSZmwuBCWrG0jb/pifwIgat8VyQ8U=";
};
makefile = "Makefile";
makeFlags = [ "PROFILE=${withProfile}" ];
meta = {
description = "Fork of bsnes with HLE DSP emulation restored (${withProfile} profile)";
homepage = "https://github.com/libretro/bsnes-mercury";
license = lib.licenses.gpl3Only;
};
}