blob: ca6ad37b5aae6190310e89b77f9846a6558c94b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, fetchgit, cmake, SDL2, qtbase, qtmultimedia, boost }:
stdenv.mkDerivation {
pname = "citra";
version = "2019-10-05";
# Submodules
src = fetchgit {
url = "https://github.com/citra-emu/citra";
rev = "35690e3ac7a340d941d3bf56080cf5aa6187c5c3";
sha256 = "11a4mdjabn3qrh0nn4pjl5fxs9nhf1k27wd486csfx88q2q9jvq8";
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL2 qtbase qtmultimedia boost ];
preConfigure = ''
# Trick configure system.
sed -n 's,^ *path = \(.*\),\1,p' .gitmodules | while read path; do
mkdir "$path/.git"
done
'';
meta = with stdenv.lib; {
homepage = "https://citra-emu.org";
description = "An open-source emulator for the Nintendo 3DS";
license = licenses.gpl2;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.linux;
};
}
|