From 2d23d629d3c018cd4e6989ed52e0410bb642a50a Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Sun, 3 Sep 2023 16:37:11 +0100 Subject: [PATCH] libretro.same_cdi: init at unstable-2023-02-28 --- pkgs/applications/emulators/retroarch/cores.nix | 10 ++++++++++ pkgs/applications/emulators/retroarch/hashes.json | 6 ++++++ pkgs/applications/emulators/retroarch/update_cores.py | 1 + 3 files changed, 17 insertions(+) diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix index a07d899ee749..7611a8860b91 100644 --- a/pkgs/applications/emulators/retroarch/cores.nix +++ b/pkgs/applications/emulators/retroarch/cores.nix @@ -842,6 +842,16 @@ in }; }; + same_cdi = mkLibretroCore { + core = "same_cdi"; + extraNativeBuildInputs = [ python3 ]; + extraBuildInputs = [ alsa-lib libGLU libGL portaudio xorg.libX11 ]; + meta = { + description = "SAME_CDI is a libretro core to play CD-i games"; + license = with lib.licenses; [ bsd3 gpl2Plus ]; + }; + }; + scummvm = mkLibretroCore rec { core = "scummvm"; version = "unstable-2022-04-06"; diff --git a/pkgs/applications/emulators/retroarch/hashes.json b/pkgs/applications/emulators/retroarch/hashes.json index 410e782d0a93..9e38d15cac89 100644 --- a/pkgs/applications/emulators/retroarch/hashes.json +++ b/pkgs/applications/emulators/retroarch/hashes.json @@ -412,6 +412,12 @@ "rev": "75d501a87ec2074e8d2f7256fb0359513c263c29", "hash": "sha256-yAHVTgOt8SGyPXihp4YNKKAvxl9VBBAvHyzLW86zSCw=" }, + "same_cdi": { + "owner": "libretro", + "repo": "same_cdi", + "rev": "54cf493c2dee4c46666059c452f8aaaa0bd7c8e0", + "hash": "sha256-/+4coMzj/o82Q04Z65DQiPaykK6N56W6PRQLtyJOd8E=" + }, "sameboy": { "owner": "libretro", "repo": "sameboy", diff --git a/pkgs/applications/emulators/retroarch/update_cores.py b/pkgs/applications/emulators/retroarch/update_cores.py index a091958c38b0..76147ccf20f4 100755 --- a/pkgs/applications/emulators/retroarch/update_cores.py +++ b/pkgs/applications/emulators/retroarch/update_cores.py @@ -81,6 +81,7 @@ CORES = { "puae": {"repo": "libretro-uae"}, "quicknes": {"repo": "QuickNES_Core"}, "sameboy": {"repo": "sameboy"}, + "same_cdi": {"repo": "same_cdi"}, "scummvm": {"repo": "scummvm"}, "smsplus-gx": {"repo": "smsplus-gx"}, "snes9x": {"repo": "snes9x", "owner": "snes9xgit"},