From ec27b2445230d6556b1961850c5e09c48f0f690b Mon Sep 17 00:00:00 2001 From: Matt Christ Date: Sat, 13 Nov 2021 09:06:44 -0600 Subject: [PATCH 1/2] libretro: mkLibRetroCore: allow specifying custom version --- pkgs/misc/emulators/retroarch/cores.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index bddabede0a07..455ac5219ae8 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -8,11 +8,11 @@ let d2u = lib.replaceChars ["-"] ["_"]; - mkLibRetroCore = { core, src, description, license, broken ? false, ... }@a: + mkLibRetroCore = { core, src, description, license, broken ? false, version ? "2020-03-06", ... }@a: lib.makeOverridable stdenv.mkDerivation ((rec { name = "libretro-${a.core}-${version}"; - version = "2020-03-06"; + inherit version; inherit (a) src; buildInputs = [ zlib ] ++ a.extraBuildInputs or []; From 5c8bb6ac0d1adbc02f8aec2fec51f3bfb253ddff Mon Sep 17 00:00:00 2001 From: Matt Christ Date: Sat, 13 Nov 2021 09:07:33 -0600 Subject: [PATCH 2/2] libretro.dolphin: 2020-03-06 -> 2021-11-01 --- pkgs/misc/emulators/retroarch/cores.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 455ac5219ae8..a71a35bf824f 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -334,10 +334,11 @@ in with lib.licenses; dolphin = mkLibRetroCore { core = "dolphin"; + version = "2021-11-01"; src = fetchRetro { repo = "dolphin"; - rev = "1fbd59911d1b718c142d6448dee3ede98152e395"; - sha256 = "1rymsvs034l1hbxc3w8zi9lhmgka2qaj3jynjy152dccd480nnd4"; + rev = "3370f7693be95c23ac779e5172ff52b7eb2861a7"; + sha256 = "0ylxi25kbv0h2p24aid7z4i0w6drf7h92q02hjdl3h3gni98lk9i"; }; description = "Port of Dolphin to libretro"; license = gpl2Plus;