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-09-09 14:08:57 +00:00
|
|
|
# Mirror of https://api.yuzu-emu.org/gamedb, last updated 2022-08-13
|
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-09-09 14:08:57 +00:00
|
|
|
url = "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/d83401d2ee3fd5e1922e31baed1f3bdb1c0f036c/compatibility_list.json";
|
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-09-09 14:08:57 +00:00
|
|
|
version = "1137";
|
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-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-DLU5hmjTnlpRQ6sbcU7as/KeI9dDJAFUzVLciql5niE=";
|
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-09-09 14:08:57 +00:00
|
|
|
version = "2907";
|
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-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-spPW2/qeVyd1P1/Z2lcuA69igS3xV4KtcJ59yf9X4JI=";
|
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}
|