mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #11759 from AndersonTorres/mgba
mgba: 0.3.0 -> 0.3.1
This commit is contained in:
commit
b57963f472
@ -1,24 +1,40 @@
|
|||||||
{ stdenv, fetchurl, cmake, ffmpeg, imagemagick, libzip, pkgconfig, qt5, SDL2 }:
|
{ stdenv, fetchurl, pkgconfig, cmake, ffmpeg, imagemagick, libzip, SDL2, qt5 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mgba-0.3.0";
|
name = "mgba-${meta.version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz;
|
url = "https://github.com/mgba-emu/mgba/archive/${meta.version}.tar.gz";
|
||||||
sha256 = "02zz6bdcwr1fx7i7dacff0s8mwp0pvabycp282qvhhx44x44q7fm";
|
sha256 = "0z52w4dkgjjviwi6w13gls082zclljgx1sa8nlyb1xcnnrn6980l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake ffmpeg imagemagick libzip pkgconfig qt5.base qt5.multimedia
|
pkgconfig cmake ffmpeg imagemagick libzip SDL2
|
||||||
SDL2
|
qt5.base qt5.multimedia
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://endrist.com/mgba/;
|
version = "0.3.1";
|
||||||
|
homepage = https://mgba.io;
|
||||||
description = "A modern GBA emulator with a focus on accuracy";
|
description = "A modern GBA emulator with a focus on accuracy";
|
||||||
license = stdenv.lib.licenses.mpl20;
|
longDescription = ''
|
||||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
mGBA is a new Game Boy Advance emulator written in C.
|
||||||
|
|
||||||
|
The project started in April 2013 with the goal of being fast
|
||||||
|
enough to run on lower end hardware than other emulators
|
||||||
|
support, without sacrificing accuracy or portability. Even in
|
||||||
|
the initial version, games generally play without problems. It
|
||||||
|
is loosely based on the previous GBA.js emulator, although very
|
||||||
|
little of GBA.js can still be seen in mGBA.
|
||||||
|
|
||||||
|
Other goals include accurate enough emulation to provide a
|
||||||
|
development environment for homebrew software, a good workflow
|
||||||
|
for tool-assist runners, and a modern feature set for emulators
|
||||||
|
that older emulators may not support.
|
||||||
|
'';
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ MP2E AndersonTorres ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user