d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ branch
|
|
, qt6Packages
|
|
, fetchFromGitHub
|
|
, fetchurl
|
|
}:
|
|
|
|
let
|
|
# Fetched from https://api.citra-emu.org/gamedb
|
|
# Please make sure to update this when updating citra!
|
|
compat-list = fetchurl {
|
|
name = "citra-compat-list";
|
|
url = "https://web.archive.org/web/20230807103651/https://api.citra-emu.org/gamedb/";
|
|
hash = "sha256-Ma1SXgzhyMHa/MeoYuf8b+QYPjhoQEeKklLbGbkHwEk=";
|
|
};
|
|
in {
|
|
nightly = qt6Packages.callPackage ./generic.nix rec {
|
|
pname = "citra-nightly";
|
|
version = "1963";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citra-emu";
|
|
repo = "citra-nightly";
|
|
rev = "nightly-${version}";
|
|
sha256 = "0ggi1l8327s43xaxs616g0s9vmal6q7vsv69bn07gp71gchhcmyi";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
|
|
canary = qt6Packages.callPackage ./generic.nix rec {
|
|
pname = "citra-canary";
|
|
version = "2573";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citra-emu";
|
|
repo = "citra-canary";
|
|
rev = "canary-${version}";
|
|
sha256 = "sha256-tQJ3WcqGcnW9dOiwDrBgL0n3UNp1DGQ/FjCR28Xjdpc=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
}.${branch}
|