2022-03-21 20:17:37 +00:00
|
|
|
{ branch ? "mainline"
|
|
|
|
, libsForQt5
|
|
|
|
, fetchFromGitHub
|
2022-05-12 19:12:52 +00:00
|
|
|
, fetchurl
|
2022-03-21 20:17:37 +00:00
|
|
|
}:
|
|
|
|
|
2021-01-25 18:32:53 +00:00
|
|
|
let
|
2022-08-14 16:41:23 +00:00
|
|
|
# Mirror of https://api.yuzu-emu.org/gamedb, last updated 2022-08-13
|
2022-03-21 20:17:37 +00:00
|
|
|
# Please make sure to update this when updating yuzu!
|
2022-05-12 19:12:52 +00:00
|
|
|
compat-list = fetchurl {
|
|
|
|
name = "yuzu-compat-list";
|
2022-08-14 16:41:23 +00:00
|
|
|
url = "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/d83401d2ee3fd5e1922e31baed1f3bdb1c0f036c/compatibility_list.json";
|
2022-05-12 19:12:52 +00:00
|
|
|
sha256 = "sha256-anOmO7NscHDsQxT03+YbJEyBkXjhcSVGgKpDwt//GHw=";
|
|
|
|
};
|
2021-01-25 18:32:53 +00:00
|
|
|
in {
|
2022-03-21 20:17:37 +00:00
|
|
|
mainline = libsForQt5.callPackage ./generic.nix rec {
|
2021-01-25 18:32:53 +00:00
|
|
|
pname = "yuzu-mainline";
|
2022-09-11 10:15:42 +00:00
|
|
|
version = "1162";
|
2022-03-21 20:17:37 +00:00
|
|
|
|
2021-01-25 18:32:53 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yuzu-emu";
|
|
|
|
repo = "yuzu-mainline";
|
|
|
|
rev = "mainline-0-${version}";
|
2022-09-11 10:15:42 +00:00
|
|
|
sha256 = "sha256-1UNgB/3l6RN0OLRrmXqzwcEUgXlWGSE7PvHbZ8YSDro=";
|
2021-01-25 18:32:53 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2022-03-21 20:17:37 +00:00
|
|
|
|
|
|
|
inherit branch compat-list;
|
2020-04-02 15:36:10 +00:00
|
|
|
};
|
2022-03-21 20:17:37 +00:00
|
|
|
|
|
|
|
early-access = libsForQt5.callPackage ./generic.nix rec {
|
2021-01-25 18:34:06 +00:00
|
|
|
pname = "yuzu-ea";
|
2022-09-11 10:15:42 +00:00
|
|
|
version = "2945";
|
2022-03-21 20:17:37 +00:00
|
|
|
|
2021-01-25 18:34:06 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pineappleEA";
|
|
|
|
repo = "pineapple-src";
|
|
|
|
rev = "EA-${version}";
|
2022-09-11 10:15:42 +00:00
|
|
|
sha256 = "sha256-/051EtQxhB5oKH/JxZZ2AjnxOBcRxCBIwd4Qr8lq7Ok=";
|
2022-03-21 20:17:37 +00:00
|
|
|
fetchSubmodules = true;
|
2021-01-25 18:34:06 +00:00
|
|
|
};
|
2022-03-21 20:17:37 +00:00
|
|
|
|
|
|
|
inherit branch compat-list;
|
2021-01-25 18:34:06 +00:00
|
|
|
};
|
2021-01-25 18:32:53 +00:00
|
|
|
}.${branch}
|