From 1e7e62c52a453ff1a4f6cb9e82ef7db76ec19de0 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 19 Nov 2024 15:56:41 +0000 Subject: [PATCH] libretro.fceumm: move to retroarch/cores --- .../emulators/retroarch/cores.nix | 8 +------ .../emulators/retroarch/cores/fceumm.nix | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 pkgs/applications/emulators/retroarch/cores/fceumm.nix diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index 6354edf11a29..0e25640d9dd2 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -147,13 +147,7 @@ lib.makeScope newScope (self: rec { fbneo = self.callPackage ./cores/fbneo.nix { }; - fceumm = mkLibretroCore { - core = "fceumm"; - meta = { - description = "FCEUmm libretro port"; - license = lib.licenses.gpl2Only; - }; - }; + fceumm = self.callPackage ./cores/fceumm.nix { }; flycast = mkLibretroCore { core = "flycast"; diff --git a/pkgs/applications/emulators/retroarch/cores/fceumm.nix b/pkgs/applications/emulators/retroarch/cores/fceumm.nix new file mode 100644 index 000000000000..e8ada8587cbf --- /dev/null +++ b/pkgs/applications/emulators/retroarch/cores/fceumm.nix @@ -0,0 +1,22 @@ +{ + lib, + fetchFromGitHub, + mkLibretroCore, +}: +mkLibretroCore { + core = "fceumm"; + version = "unstable-2024-09-23"; + + src = fetchFromGitHub { + owner = "libretro"; + repo = "libretro-fceumm"; + rev = "e226068f979cd8fbfc3be9780d16cfb1405095b0"; + hash = "sha256-2G5EzcDJkEhaN+nXi/wu3+Ejim04ZzOr+LW69cLAEuM="; + }; + + meta = { + description = "FCEUmm libretro port"; + homepage = "https://github.com/libretro/libretro-fceumm"; + license = lib.licenses.gpl2Only; + }; +}