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

29 lines
801 B
Nix
Raw Normal View History

2021-01-25 18:34:06 +00:00
{ branch ? "mainline", libsForQt5, fetchFromGitHub }:
let
2021-01-25 18:34:06 +00:00
inherit libsForQt5 fetchFromGitHub;
in {
mainline = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-mainline";
2022-01-15 09:22:27 +00:00
version = "882";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
2022-01-15 09:22:27 +00:00
sha256 = "17j845laxnaq50icwl32yisdivwcnwa59fxdr297yxrz4hmfzhxq";
fetchSubmodules = true;
};
2020-04-02 15:36:10 +00:00
};
2021-01-25 18:34:06 +00:00
early-access = libsForQt5.callPackage ./base.nix rec {
pname = "yuzu-ea";
version = "2156";
2021-01-25 18:34:06 +00:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
sha256 = "1x8x808x3i8jr9zghx01vakb6q6hkwnarawr9arxvqnd9x79j8ga";
2021-01-25 18:34:06 +00:00
};
};
}.${branch}