2022-06-16 17:23:12 +00:00
|
|
|
{ branch
|
2023-05-24 13:37:59 +00:00
|
|
|
, qt6Packages
|
2021-12-06 16:07:01 +00:00
|
|
|
, fetchFromGitHub
|
2022-06-16 17:23:12 +00:00
|
|
|
, fetchurl
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
let
|
2023-05-24 13:37:59 +00:00
|
|
|
# Fetched from https://api.citra-emu.org/gamedb
|
2022-06-16 17:23:12 +00:00
|
|
|
# Please make sure to update this when updating citra!
|
|
|
|
compat-list = fetchurl {
|
|
|
|
name = "citra-compat-list";
|
2024-01-02 11:29:13 +00:00
|
|
|
url = "https://web.archive.org/web/20231111133415/https://api.citra-emu.org/gamedb";
|
2023-08-22 20:05:09 +00:00
|
|
|
hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
in {
|
2023-05-24 13:37:59 +00:00
|
|
|
nightly = qt6Packages.callPackage ./generic.nix rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
pname = "citra-nightly";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2043";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "citra-emu";
|
|
|
|
repo = "citra-nightly";
|
|
|
|
rev = "nightly-${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-26M3uzqp4rUMOhr619UooupZT11B03IJfamUPNkceQk=";
|
2022-06-16 17:23:12 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit branch compat-list;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
canary = qt6Packages.callPackage ./generic.nix rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
pname = "citra-canary";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2695";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "citra-emu";
|
|
|
|
repo = "citra-canary";
|
|
|
|
rev = "canary-${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-090er4aUGze8bk3DIFZoa+/6EcJhr4bim3nWgZHs1mo=";
|
2022-06-16 17:23:12 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
inherit branch compat-list;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-06-16 17:23:12 +00:00
|
|
|
}.${branch}
|