forked from mirrors/nixpkgs
new package: mgba 0.3.0
This is a new Gameboy Advance emulator which aims to run on lower end hardware without sacrificing accuracy or portability.
This commit is contained in:
parent
2afc00061b
commit
e99167d7f1
21
pkgs/misc/emulators/mgba/default.nix
Normal file
21
pkgs/misc/emulators/mgba/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchurl, cmake, ffmpeg, imagemagick, libzip, pkgconfig, qt53, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mgba-0.3.0";
|
||||
src = fetchurl {
|
||||
url = https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz;
|
||||
sha256 = "02zz6bdcwr1fx7i7dacff0s8mwp0pvabycp282qvhhx44x44q7fm";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ffmpeg imagemagick libzip pkgconfig qt53 SDL2 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://endrist.com/mgba/;
|
||||
description = "A modern GBA emulator with a focus on accuracy";
|
||||
license = stdenv.lib.licenses.mpl20;
|
||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
||||
};
|
||||
}
|
||||
|
|
@ -2225,6 +2225,8 @@ let
|
|||
|
||||
mfoc = callPackage ../tools/security/mfoc { };
|
||||
|
||||
mgba = callPackage ../misc/emulators/mgba { };
|
||||
|
||||
minecraft = callPackage ../games/minecraft {
|
||||
useAlsa = config.minecraft.alsa or false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue