2022-04-27 09:35:20 +00:00
|
|
|
{ branch ? "mainline"
|
|
|
|
, libsForQt5
|
|
|
|
, fetchFromGitHub
|
2022-05-18 14:49:53 +00:00
|
|
|
, fetchurl
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
let
|
2022-07-18 16:21:45 +00:00
|
|
|
# Fetched from https://api.yuzu-emu.org/gamedb, last updated 2022-07-14
|
2022-04-27 09:35:20 +00:00
|
|
|
# Please make sure to update this when updating yuzu!
|
2022-05-18 14:49:53 +00:00
|
|
|
compat-list = fetchurl {
|
|
|
|
name = "yuzu-compat-list";
|
2022-07-18 16:21:45 +00:00
|
|
|
url = "https://web.archive.org/web/20220714160745/https://api.yuzu-emu.org/gamedb";
|
2022-05-18 14:49:53 +00:00
|
|
|
sha256 = "sha256-anOmO7NscHDsQxT03+YbJEyBkXjhcSVGgKpDwt//GHw=";
|
|
|
|
};
|
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-07-18 16:21:45 +00:00
|
|
|
version = "1092";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yuzu-emu";
|
|
|
|
repo = "yuzu-mainline";
|
|
|
|
rev = "mainline-0-${version}";
|
2022-07-18 16:21:45 +00:00
|
|
|
sha256 = "1avcq924q0r8pfv1s0a88iyii7yixcxpb3yhlj0xg9zqnwp9r23y";
|
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-07-18 16:21:45 +00:00
|
|
|
version = "2841";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pineappleEA";
|
|
|
|
repo = "pineapple-src";
|
|
|
|
rev = "EA-${version}";
|
2022-07-18 16:21:45 +00:00
|
|
|
sha256 = "16lrq9drv0x7gs1siq37m4zmh6d2g3vhnw9qcqajr9p0vmlpnh6l";
|
2022-04-27 09:35:20 +00:00
|
|
|
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}
|