diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-08-01 12:01:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 12:01:51 +0000 |
commit | 30cf79fa629dbe1e7ae6b0c0901ff437d1e96446 (patch) | |
tree | 1052da2dcdd01f3bb314ca99798b69ebd8fe39cd /pkgs/misc/emulators/mgba/default.nix | |
parent | c4b3ddbb5a2457096856937fa78e217b7663f9c0 (diff) | |
parent | adcbf069c59ef2813631f93fba121c45636398ae (diff) | |
download | nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar.gz nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar.bz2 nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar.lz nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar.xz nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.tar.zst nixpkgs-30cf79fa629dbe1e7ae6b0c0901ff437d1e96446.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/misc/emulators/mgba/default.nix')
-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"; |