summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2022-10-14 07:49:58 -0300
committerGitHub <noreply@github.com>2022-10-14 07:49:58 -0300
commitb516c4b09a917047f79b24be8665e49e9915173d (patch)
treebb016223647bbe7d650c8525bb2703200f6e0ff1 /pkgs/applications
parent72e58a0d7d44f58145da4e365c824d6de4f37371 (diff)
parent875ba8ecdb329a294f2aafc3f5062fb81a2171fe (diff)
downloadnixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar.gz
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar.bz2
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar.lz
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar.xz
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.tar.zst
nixpkgs-b516c4b09a917047f79b24be8665e49e9915173d.zip
Merge pull request #195890 from AndersonTorres/mgba
mgba: 0.9.3 -> 0.10.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/emulators/mgba/default.nix24
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/applications/emulators/mgba/default.nix b/pkgs/applications/emulators/mgba/default.nix
index 4424bedc6f2..ce0ea6d6de8 100644
--- a/pkgs/applications/emulators/mgba/default.nix
+++ b/pkgs/applications/emulators/mgba/default.nix
@@ -3,12 +3,14 @@
 , fetchFromGitHub
 , SDL2
 , cmake
-, libepoxy
-, ffmpeg_4
+, copyDesktopItems
+, ffmpeg
 , imagemagick
 , libedit
 , libelf
+, libepoxy
 , libzip
+, lua
 , makeDesktopItem
 , minizip
 , pkg-config
@@ -18,31 +20,33 @@
 , wrapQtAppsHook
 }:
 
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   pname = "mgba";
-  version = "0.9.3";
+  version = "0.10.0";
 
   src = fetchFromGitHub {
     owner = "mgba-emu";
     repo = "mgba";
-    rev = version;
-    hash = "sha256-0ZtoyyoD+YjplJlPFpZgIg5119j/6X8ZaSZP+UpX5K0=";
+    rev = finalAttrs.version;
+    hash = "sha256-2thc2v3aD8t1PrREZIjzRuYfP7b3BA7uFb6R95zxsZI=";
   };
 
   nativeBuildInputs = [
     cmake
+    copyDesktopItems
     pkg-config
     wrapQtAppsHook
   ];
 
   buildInputs = [
     SDL2
-    libepoxy
-    ffmpeg_4
+    ffmpeg
     imagemagick
     libedit
     libelf
+    libepoxy
     libzip
+    lua
     minizip
     qtbase
     qtmultimedia
@@ -79,9 +83,9 @@ stdenv.mkDerivation rec {
       runners, and a modern feature set for emulators that older emulators may
       not support.
     '';
+    changelog = "https://github.com/mgba-emu/mgba/blob/${finalAttrs.version}/CHANGES";
     license = licenses.mpl20;
     maintainers = with maintainers; [ MP2E AndersonTorres ];
     platforms = platforms.linux;
   };
-}
-# TODO: use desktopItem functions
+})