3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/emulators/yuzu/default.nix

29 lines
801 B
Nix
Raw Normal View History

2021-01-25 18:34:06 +00:00
{ branch ? "mainline", libsForQt5, fetchFromGitHub }:
let
2021-01-25 18:34:06 +00:00
inherit libsForQt5 fetchFromGitHub;
in {
mainline = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-mainline";
2022-01-15 09:22:27 +00:00
version = "882";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
2022-01-15 09:22:27 +00:00
sha256 = "17j845laxnaq50icwl32yisdivwcnwa59fxdr297yxrz4hmfzhxq";
fetchSubmodules = true;
};
2020-04-02 16:36:10 +01:00
};
2021-01-25 18:34:06 +00:00
early-access = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-ea";
version = "2432";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
sha256 = "0zqab61rphgjzyxk52idhr7dqwwxih0f8b9hig3zvrwkdry9wfh4";
2021-01-25 18:34:06 +00:00
};
};
}.${branch}