mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +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 {
|
||||
name = "mgba-0.3.0";
|
||||
name = "mgba-${meta.version}";
|
||||
src = fetchurl {
|
||||
url = https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz;
|
||||
sha256 = "02zz6bdcwr1fx7i7dacff0s8mwp0pvabycp282qvhhx44x44q7fm";
|
||||
url = "https://github.com/mgba-emu/mgba/archive/${meta.version}.tar.gz";
|
||||
sha256 = "0z52w4dkgjjviwi6w13gls082zclljgx1sa8nlyb1xcnnrn6980l";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake ffmpeg imagemagick libzip pkgconfig qt5.base qt5.multimedia
|
||||
SDL2
|
||||
pkgconfig cmake ffmpeg imagemagick libzip SDL2
|
||||
qt5.base qt5.multimedia
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://endrist.com/mgba/;
|
||||
meta = with stdenv.lib; {
|
||||
version = "0.3.1";
|
||||
homepage = https://mgba.io;
|
||||
description = "A modern GBA emulator with a focus on accuracy";
|
||||
license = stdenv.lib.licenses.mpl20;
|
||||
maintainers = with stdenv.lib.maintainers; [ MP2E ];
|
||||
longDescription = ''
|
||||
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