citra build from archive
This commit is contained in:
27
pkgs/citra/default.nix
Normal file
27
pkgs/citra/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ 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-J+zqtWde5NgK2QROvGewtXGRAWUTNSKHNMG6iu9m1fU=";
|
||||
};
|
||||
in {
|
||||
nightly = qt6Packages.callPackage ./generic.nix rec {
|
||||
pname = "citra-nightly";
|
||||
version = "2104";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nailington";
|
||||
repo = "Citra-Nightly";
|
||||
rev = "nightly-${version}";
|
||||
sha256 = "0ggi1l8327s43xaxs616g0s9vmal6q7vsv69bn07gp71gchhcmyi";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
inherit branch compat-list;
|
||||
};
|
||||
}.${branch}
|
||||
Reference in New Issue
Block a user