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 = "679";
2021-01-25 19:34:06 +01:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
sha256 = "1wkxkgfff5nn30mn2pqcrlsr7fja6bgaallsx1ainlcbamfyspcz";
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";
2021-07-11 16:17:41 +02:00
version = "1874";
2021-01-25 19:34:06 +01:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
2021-07-11 16:17:41 +02:00
sha256 = "0ryrz7dl1sg30vvd7wrf05pjj8swah86055fn7qm6mr2bfslww0h";
2021-01-25 19:34:06 +01:00
};
};
}.${branch}