28 lines
801 B
Nix
28 lines
801 B
Nix
{ branch ? "mainline", libsForQt5, fetchFromGitHub }:
|
|
let
|
|
inherit libsForQt5 fetchFromGitHub;
|
|
in {
|
|
mainline = libsForQt5.callPackage ./base.nix rec {
|
|
pname = "yuzu-mainline";
|
|
version = "679";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "yuzu-emu";
|
|
repo = "yuzu-mainline";
|
|
rev = "mainline-0-${version}";
|
|
sha256 = "1wkxkgfff5nn30mn2pqcrlsr7fja6bgaallsx1ainlcbamfyspcz";
|
|
fetchSubmodules = true;
|
|
};
|
|
};
|
|
early-access = libsForQt5.callPackage ./base.nix rec {
|
|
pname = "yuzu-ea";
|
|
version = "1874";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "pineappleEA";
|
|
repo = "pineapple-src";
|
|
rev = "EA-${version}";
|
|
sha256 = "0ryrz7dl1sg30vvd7wrf05pjj8swah86055fn7qm6mr2bfslww0h";
|
|
};
|
|
};
|
|
}.${branch}
|