Merge pull request #132279 from AndersonTorres/new-mgba

mgba: 0.9.0 -> 0.9.2

authored by Anderson Torres and committed by GitHub a5c39a78 63003160

+18 -17
+18 -17
pkgs/misc/emulators/mgba/default.nix
··· 18 , wrapQtAppsHook 19 }: 20 21 - let 22 - desktopItem = makeDesktopItem { 23 - name = "mgba"; 24 - exec = "mgba-qt"; 25 - icon = "mgba"; 26 - comment = "A Game Boy Advance Emulator"; 27 - desktopName = "mgba"; 28 - genericName = "Game Boy Advance Emulator"; 29 - categories = "Game;Emulator;"; 30 - startupNotify = "false"; 31 - }; 32 - in stdenv.mkDerivation rec { 33 pname = "mgba"; 34 - version = "0.9.0"; 35 36 src = fetchFromGitHub { 37 owner = "mgba-emu"; 38 repo = "mgba"; 39 rev = version; 40 - hash = "sha256-JVauGyHJVfiXVG4Z+Ydh1lRypy5rk9SKeTbeHFNFYJs="; 41 }; 42 43 nativeBuildInputs = [ ··· 59 qttools 60 ]; 61 62 - postInstall = '' 63 - cp -r ${desktopItem}/share/applications $out/share 64 - ''; 65 66 meta = with lib; { 67 homepage = "https://mgba.io";
··· 18 , wrapQtAppsHook 19 }: 20 21 + stdenv.mkDerivation rec { 22 pname = "mgba"; 23 + version = "0.9.2"; 24 25 src = fetchFromGitHub { 26 owner = "mgba-emu"; 27 repo = "mgba"; 28 rev = version; 29 + hash = "sha256-A48PVUCekdRYel/BddPCeIcEDllOvcU7pk4i4P58dpo="; 30 }; 31 32 nativeBuildInputs = [ ··· 48 qttools 49 ]; 50 51 + postInstall = let 52 + desktopItem = makeDesktopItem { 53 + name = "mgba"; 54 + exec = "mgba-qt"; 55 + icon = "mgba"; 56 + comment = "A Game Boy Advance Emulator"; 57 + desktopName = "mgba"; 58 + genericName = "Game Boy Advance Emulator"; 59 + categories = "Game;Emulator;"; 60 + startupNotify = "false"; 61 + }; 62 + in 63 + '' 64 + cp -r ${desktopItem}/share/applications $out/share 65 + ''; 66 67 meta = with lib; { 68 homepage = "https://mgba.io";