3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/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";
version = "576";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
sha256 = "121pn3kmghpcf4pzs0mc8z3viyp32rzm7rssva7cdd5016z2648k";
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 = "1536";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
sha256 = "0smrx05xxr4b96i8bw6n6pynkl9r21ydfvpjdzxkr9amin20r54y";
2021-01-25 18:34:06 +00:00
};
};
}.${branch}