@@ -0,0 +1,21 @@
1+{ stdenv, fetchurl, cmake, ffmpeg, imagemagick, libzip, pkgconfig, qt53, SDL2 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "mgba-0.3.0";
5+ src = fetchurl {
6+ url = https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz;
7+ sha256 = "02zz6bdcwr1fx7i7dacff0s8mwp0pvabycp282qvhhx44x44q7fm";
8+ };
9+
10+ buildInputs = [ cmake ffmpeg imagemagick libzip pkgconfig qt53 SDL2 ];
11+
12+ enableParallelBuilding = true;
13+
14+ meta = {
15+ homepage = https://endrist.com/mgba/;
16+ description = "A modern GBA emulator with a focus on accuracy";
17+ license = stdenv.lib.licenses.mpl20;
18+ maintainers = with stdenv.lib.maintainers; [ MP2E ];
19+ };
20+}
21+