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

29 lines
801 B
Nix
Raw Normal View History

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