diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2021-08-01 04:04:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 04:04:49 -0300 |
commit | a5c39a78b802f13b68a12527ecbad74cdce353cb (patch) | |
tree | 6e11472a871c37c02a4502f5c7408c83e30430d7 /pkgs/misc | |
parent | 630031607986c47a145775d3973f3724fa04bf3d (diff) | |
parent | b12ba3668482b49bb275dad733da30becafbd9ff (diff) | |
download | nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar.gz nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar.bz2 nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar.lz nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar.xz nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.tar.zst nixpkgs-a5c39a78b802f13b68a12527ecbad74cdce353cb.zip |
Merge pull request #132279 from AndersonTorres/new-mgba
mgba: 0.9.0 -> 0.9.2
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/emulators/mgba/default.nix | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/pkgs/misc/emulators/mgba/default.nix b/pkgs/misc/emulators/mgba/default.nix index fa25609dcdb..4d0f9855271 100644 --- a/pkgs/misc/emulators/mgba/default.nix +++ b/pkgs/misc/emulators/mgba/default.nix @@ -18,26 +18,15 @@ , wrapQtAppsHook }: -let - desktopItem = makeDesktopItem { - name = "mgba"; - exec = "mgba-qt"; - icon = "mgba"; - comment = "A Game Boy Advance Emulator"; - desktopName = "mgba"; - genericName = "Game Boy Advance Emulator"; - categories = "Game;Emulator;"; - startupNotify = "false"; - }; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "mgba"; - version = "0.9.0"; + version = "0.9.2"; src = fetchFromGitHub { owner = "mgba-emu"; repo = "mgba"; rev = version; - hash = "sha256-JVauGyHJVfiXVG4Z+Ydh1lRypy5rk9SKeTbeHFNFYJs="; + hash = "sha256-A48PVUCekdRYel/BddPCeIcEDllOvcU7pk4i4P58dpo="; }; nativeBuildInputs = [ @@ -59,9 +48,21 @@ in stdenv.mkDerivation rec { qttools ]; - postInstall = '' - cp -r ${desktopItem}/share/applications $out/share - ''; + postInstall = let + desktopItem = makeDesktopItem { + name = "mgba"; + exec = "mgba-qt"; + icon = "mgba"; + comment = "A Game Boy Advance Emulator"; + desktopName = "mgba"; + genericName = "Game Boy Advance Emulator"; + categories = "Game;Emulator;"; + startupNotify = "false"; + }; + in + '' + cp -r ${desktopItem}/share/applications $out/share + ''; meta = with lib; { homepage = "https://mgba.io"; |