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 18 , wrapQtAppsHook 19 19 }: 20 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 { 21 + stdenv.mkDerivation rec { 33 22 pname = "mgba"; 34 - version = "0.9.0"; 23 + version = "0.9.2"; 35 24 36 25 src = fetchFromGitHub { 37 26 owner = "mgba-emu"; 38 27 repo = "mgba"; 39 28 rev = version; 40 - hash = "sha256-JVauGyHJVfiXVG4Z+Ydh1lRypy5rk9SKeTbeHFNFYJs="; 29 + hash = "sha256-A48PVUCekdRYel/BddPCeIcEDllOvcU7pk4i4P58dpo="; 41 30 }; 42 31 43 32 nativeBuildInputs = [ ··· 59 48 qttools 60 49 ]; 61 50 62 - postInstall = '' 63 - cp -r ${desktopItem}/share/applications $out/share 64 - ''; 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 + ''; 65 66 66 67 meta = with lib; { 67 68 homepage = "https://mgba.io";