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 = "633";
2021-01-25 19:34:06 +01:00
branchName = branch;
src = fetchFromGitHub {
owner = "yuzu-emu";
repo = "yuzu-mainline";
rev = "mainline-0-${version}";
sha256 = "1zq20dd6x3kk179ls7y3mc5rj9vr73qs12bdj52bl3kscphxybf1";
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 = "1704";
2021-01-25 19:34:06 +01:00
branchName = branch;
src = fetchFromGitHub {
owner = "pineappleEA";
repo = "pineapple-src";
rev = "EA-${version}";
sha256 = "07pcldcmn8ammzbnxki6by7hgacr6z0548dvhv2p5lp9qcf3xz22";
2021-01-25 19:34:06 +01:00
};
};
}.${branch}