mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
46 lines
1.1 KiB
Nix
46 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/20231111133415/https://api.citra-emu.org/gamedb";
|
|
hash = "sha256-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU=";
|
|
};
|
|
in {
|
|
nightly = qt6Packages.callPackage ./generic.nix rec {
|
|
pname = "citra-nightly";
|
|
version = "2088";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citra-emu";
|
|
repo = "citra-nightly";
|
|
rev = "nightly-${version}";
|
|
sha256 = "0l9w4i0zbafcv2s6pd1zqb11vh0i7gzwbqnzlz9al6ihwbsgbj3k";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
|
|
canary = qt6Packages.callPackage ./generic.nix rec {
|
|
pname = "citra-canary";
|
|
version = "2766";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citra-emu";
|
|
repo = "citra-canary";
|
|
rev = "canary-${version}";
|
|
sha256 = "1gm3ajphpzwhm3qnchsx77jyl51za8yw3r0j0h8idf9y1ilcjvi4";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
inherit branch compat-list;
|
|
};
|
|
}.${branch}
|