forked from mirrors/nixpkgs
8d65e832f0
Emulators form a class by themselves. So, they should be moved to applications/.
29 lines
801 B
Nix
29 lines
801 B
Nix
{ branch ? "mainline", libsForQt5, fetchFromGitHub }:
|
|
let
|
|
inherit libsForQt5 fetchFromGitHub;
|
|
in {
|
|
mainline = libsForQt5.callPackage ./base.nix rec {
|
|
pname = "yuzu-mainline";
|
|
version = "882";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "yuzu-emu";
|
|
repo = "yuzu-mainline";
|
|
rev = "mainline-0-${version}";
|
|
sha256 = "17j845laxnaq50icwl32yisdivwcnwa59fxdr297yxrz4hmfzhxq";
|
|
fetchSubmodules = true;
|
|
};
|
|
};
|
|
early-access = libsForQt5.callPackage ./base.nix rec {
|
|
pname = "yuzu-ea";
|
|
version = "2432";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "pineappleEA";
|
|
repo = "pineapple-src";
|
|
rev = "EA-${version}";
|
|
sha256 = "0zqab61rphgjzyxk52idhr7dqwwxih0f8b9hig3zvrwkdry9wfh4";
|
|
};
|
|
};
|
|
}.${branch}
|