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-08-21 13:32:41 +00:00
|
|
|
version = "1131";
|
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-08-21 13:32:41 +00:00
|
|
|
sha256 = "0lh8s59hrysfjz69yr0f44s3l4aaznmclq0xfnyblsk0cw9ripf6";
|
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-08-21 13:32:41 +00:00
|
|
|
version = "2901";
|
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-08-21 13:32:41 +00:00
|
|
|
sha256 = "0jymm9sdsnayjaffmcbpjck4k2yslx8zid2vsm4jfdaajr244q2z";
|
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}
|