forked from mirrors/nixpkgs
8cb3340ffe
This also changes the update script for EA to fetch the two latest releases, filter for tags matching /^EA-[0-9]*/ and pick the latest one. This is required because recently the auto-updater (tag: continuous) is the latest release, which would have been picked by the update script. It also updates the free icons patch, which is needed due to yuzu changing how they track licenses of files to REUSE. The comment is updated to reflect the workflow that is needed to create the patch, because pineapple does not include files beginning with a dot in its source.
46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ branch ? "mainline"
|
|
, libsForQt5
|
|
, fetchFromGitHub
|
|
, fetchurl
|
|
}:
|
|
|
|
let
|
|
# Fetched from https://api.yuzu-emu.org/gamedb, last updated 2022-07-14
|
|
# Please make sure to update this when updating yuzu!
|
|
compat-list = fetchurl {
|
|
name = "yuzu-compat-list";
|
|
url = "https://web.archive.org/web/20220714160745/https://api.yuzu-emu.org/gamedb";
|
|
sha256 = "sha256-anOmO7NscHDsQxT03+YbJEyBkXjhcSVGgKpDwt//GHw=";
|
|
};
|
|
in {
|
|
mainline = libsForQt5.callPackage ./generic.nix rec {
|
|
pname = "yuzu-mainline";
|
|
version = "1131";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yuzu-emu";
|
|
repo = "yuzu-mainline";
|
|
rev = "mainline-0-${version}";
|
|
sha256 = "0lh8s59hrysfjz69yr0f44s3l4aaznmclq0xfnyblsk0cw9ripf6";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
|
|
early-access = libsForQt5.callPackage ./generic.nix rec {
|
|
pname = "yuzu-ea";
|
|
version = "2901";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pineappleEA";
|
|
repo = "pineapple-src";
|
|
rev = "EA-${version}";
|
|
sha256 = "0jymm9sdsnayjaffmcbpjck4k2yslx8zid2vsm4jfdaajr244q2z";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
}.${branch}
|