From fd38aeafcd003c93676983dde4dd66dfa20ff765 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 8 Oct 2016 17:41:03 -0300 Subject: [PATCH] mgba: git-20160325 -> 0.5.1 --- pkgs/misc/emulators/mgba/default.nix | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/misc/emulators/mgba/default.nix b/pkgs/misc/emulators/mgba/default.nix index a38576dcbe45..7724d3d8d1bd 100644 --- a/pkgs/misc/emulators/mgba/default.nix +++ b/pkgs/misc/emulators/mgba/default.nix @@ -1,21 +1,20 @@ -{ stdenv, fetchgit +{ stdenv, fetchFromGitHub , pkgconfig, cmake, libzip, epoxy, ffmpeg, imagemagick, SDL2 , qtbase, qtmultimedia }: stdenv.mkDerivation rec { - name = "mgba-git-${version}"; - version = "20160325"; + name = "mgba-${version}"; + version = "0.5.1"; - src = fetchgit { - url = "https://github.com/mgba-emu/mgba.git"; - rev = "be2641c77b4a438e0db487bc82b43bc27a26e0c2"; - sha256 = "1wxywfbkgqvb0j9cyz4nwsfzhxrdjcmvz1k7rljmy4bz1pjcglj1"; + src = fetchFromGitHub { + owner = "mgba-emu"; + repo = "mgba"; + rev = version; + sha256 = "1ysxyy888qdwjbgsh3xdzsx8f3a5yd1gqx54xvndpv9v3zqgr2jf"; }; - buildInputs = [ - pkgconfig cmake libzip epoxy ffmpeg imagemagick SDL2 - qtbase qtmultimedia - ]; + nativeBuildInputs = [ pkgconfig cmake ]; + buildInputs = [ libzip epoxy ffmpeg imagemagick SDL2 qtbase qtmultimedia ]; meta = with stdenv.lib; { homepage = https://mgba.io;