mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
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 = "576";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "yuzu-emu";
|
|
repo = "yuzu-mainline";
|
|
rev = "mainline-0-${version}";
|
|
sha256 = "121pn3kmghpcf4pzs0mc8z3viyp32rzm7rssva7cdd5016z2648k";
|
|
fetchSubmodules = true;
|
|
};
|
|
};
|
|
early-access = libsForQt5.callPackage ./base.nix rec {
|
|
pname = "yuzu-ea";
|
|
version = "1536";
|
|
branchName = branch;
|
|
src = fetchFromGitHub {
|
|
owner = "pineappleEA";
|
|
repo = "pineapple-src";
|
|
rev = "EA-${version}";
|
|
sha256 = "0smrx05xxr4b96i8bw6n6pynkl9r21ydfvpjdzxkr9amin20r54y";
|
|
};
|
|
};
|
|
}.${branch}
|