From 28dd9e8a6c6b86f7793e0267aab227c0bbc65b29 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 15 Dec 2015 23:29:31 -0200 Subject: [PATCH] mgba: 0.3.0 -> 0.3.1 --- pkgs/misc/emulators/mgba/default.nix | 36 ++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/pkgs/misc/emulators/mgba/default.nix b/pkgs/misc/emulators/mgba/default.nix index 82f106889481..edf4c6a060dc 100644 --- a/pkgs/misc/emulators/mgba/default.nix +++ b/pkgs/misc/emulators/mgba/default.nix @@ -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 ]; }; }