forked from mirrors/nixpkgs
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 = "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 = "1855";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "pineappleEA";
|
|
repo = "pineapple-src";
|
|
rev = "EA-${version}";
|
|
sha256 = "0civ63zi23cym3kii4v3aiqrsg2zzj0w6sp6sa14ixysagqxsd4a";
|
|
};
|
|
};
|
|
}.${branch}
|