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-05-18 14:49:53 +00:00
|
|
|
# Fetched from https://api.yuzu-emu.org/gamedb, last updated 2022-05-12
|
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";
|
|
|
|
url = "https://web.archive.org/web/20220512184801/https://api.yuzu-emu.org/gamedb";
|
|
|
|
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-05-18 14:49:53 +00:00
|
|
|
version = "1014";
|
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-05-18 14:49:53 +00:00
|
|
|
sha256 = "1x3d1fjssadv4kybc6mk153jlvncsfgm5aipkq5n5i8sr7mmr3nw";
|
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-05-18 14:49:53 +00:00
|
|
|
version = "2725";
|
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-05-18 14:49:53 +00:00
|
|
|
sha256 = "1nmcl9y9chr7cdvnra5zs1v42d3i801hmsjdlz3fmp15n04bcjmp";
|
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}
|