nixpkgs/pkgs/misc/emulators/yuzu/default.nix

29 lines
801 B
Nix
Raw Normal View History

2021-01-25 21:34:06 +03:00
{ branch ? "mainline", libsForQt5, fetchFromGitHub }:
let
2021-01-25 21:34:06 +03:00
inherit libsForQt5 fetchFromGitHub;
in {
mainline = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-mainline";
version = "546";
2021-01-25 21:34:06 +03:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
sha256 = "0d6cbhp877xyjac1flkyjf6g6igzmvjlk6gcph4m04i4zivb9kf2";
fetchSubmodules = true;
};
2020-04-02 18:36:10 +03:00
};
2021-01-25 21:34:06 +03:00
early-access = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-ea";
version = "1480";
2021-01-25 21:34:06 +03:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
sha256 = "0flc5mckmnr9gj8f78nh9nys96inlkqk3rvpgbpl0mhcg6lmlb2g";
2021-01-25 21:34:06 +03:00
};
};
}.${branch}