2022-05-17 22:01:41 +00:00
|
|
|
{ branch
|
2023-04-11 13:25:02 +00:00
|
|
|
, qt6Packages
|
2021-10-23 22:29:12 +00:00
|
|
|
, fetchFromGitHub
|
2022-05-17 22:01:41 +00:00
|
|
|
, fetchurl
|
2021-10-23 22:29:12 +00:00
|
|
|
}:
|
2017-07-27 12:57:12 +00:00
|
|
|
|
2022-05-17 22:01:41 +00:00
|
|
|
let
|
2023-04-11 13:25:02 +00:00
|
|
|
# Fetched from https://api.citra-emu.org/gamedb
|
2022-05-17 22:01:41 +00:00
|
|
|
# Please make sure to update this when updating citra!
|
|
|
|
compat-list = fetchurl {
|
|
|
|
name = "citra-compat-list";
|
2023-10-29 11:11:28 +00:00
|
|
|
url = "https://web.archive.org/web/20231111133415/https://api.citra-emu.org/gamedb";
|
2023-08-11 08:10:02 +00:00
|
|
|
hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU=";
|
2022-05-17 22:01:41 +00:00
|
|
|
};
|
|
|
|
in {
|
2023-04-11 13:25:02 +00:00
|
|
|
nightly = qt6Packages.callPackage ./generic.nix rec {
|
2022-05-17 22:01:41 +00:00
|
|
|
pname = "citra-nightly";
|
2024-02-01 06:37:03 +00:00
|
|
|
version = "2088";
|
2022-05-17 22:01:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "citra-emu";
|
|
|
|
repo = "citra-nightly";
|
|
|
|
rev = "nightly-${version}";
|
2024-02-01 06:37:03 +00:00
|
|
|
sha256 = "0l9w4i0zbafcv2s6pd1zqb11vh0i7gzwbqnzlz9al6ihwbsgbj3k";
|
2022-05-17 22:01:41 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit branch compat-list;
|
2017-07-27 12:57:12 +00:00
|
|
|
};
|
|
|
|
|
2023-04-11 13:25:02 +00:00
|
|
|
canary = qt6Packages.callPackage ./generic.nix rec {
|
2022-05-17 22:01:41 +00:00
|
|
|
pname = "citra-canary";
|
2024-02-01 06:37:03 +00:00
|
|
|
version = "2766";
|
2017-07-27 12:57:12 +00:00
|
|
|
|
2022-05-17 22:01:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "citra-emu";
|
|
|
|
repo = "citra-canary";
|
|
|
|
rev = "canary-${version}";
|
2024-02-01 06:37:03 +00:00
|
|
|
sha256 = "1gm3ajphpzwhm3qnchsx77jyl51za8yw3r0j0h8idf9y1ilcjvi4";
|
2022-05-17 22:01:41 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2021-10-23 22:29:12 +00:00
|
|
|
|
2022-05-17 22:01:41 +00:00
|
|
|
inherit branch compat-list;
|
2017-07-27 12:57:12 +00:00
|
|
|
};
|
2022-05-17 22:01:41 +00:00
|
|
|
}.${branch}
|