2022-04-27 09:35:20 +00:00
|
|
|
{ branch ? "mainline"
|
|
|
|
, libsForQt5
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
let
|
2022-04-27 09:35:20 +00:00
|
|
|
# Fetched from https://api.yuzu-emu.org/gamedb, last updated 2022-03-23.
|
|
|
|
# Please make sure to update this when updating yuzu!
|
|
|
|
compat-list = ./compatibility-list.json;
|
2021-02-05 17:12:51 +00:00
|
|
|
in {
|
2022-04-27 09:35:20 +00:00
|
|
|
mainline = libsForQt5.callPackage ./generic.nix rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "yuzu-mainline";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "992";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yuzu-emu";
|
|
|
|
repo = "yuzu-mainline";
|
|
|
|
rev = "mainline-0-${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "1x3fwwdw86jvygbzy9k99j6avfsd867ywm2x25izw10jznpsaixs";
|
2021-02-05 17:12:51 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
inherit branch compat-list;
|
2020-12-26 04:20:00 +00:00
|
|
|
};
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
early-access = libsForQt5.callPackage ./generic.nix rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
pname = "yuzu-ea";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "2690";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pineappleEA";
|
|
|
|
repo = "pineapple-src";
|
|
|
|
rev = "EA-${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "0zm06clbdh9cccq9932q9v976q7sjknynkdvvp04h1wcskmrxi3c";
|
|
|
|
fetchSubmodules = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
inherit branch compat-list;
|
2020-12-26 04:20:00 +00:00
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
}.${branch}
|