about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2022-02-19 19:43:40 -0300
committerGitHub <noreply@github.com>2022-02-19 19:43:40 -0300
commit91fb4fade27a4940f044fb02364df103f56b16c9 (patch)
tree6c6155ce88170622245e4aa3bff0d18a3c85fa61 /pkgs/applications/emulators
parent8388c525c3c09715e09357b5547c128f931a7cf3 (diff)
parent09640927e713d9fb4cc5ffd3a301325b094487dd (diff)
downloadnixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar.gz
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar.bz2
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar.lz
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar.xz
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.tar.zst
nixlib-91fb4fade27a4940f044fb02364df103f56b16c9.zip
Merge pull request #160909 from AndersonTorres/new-misc
mednafen: 1.26.1 -> 1.29.0
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/mednafen/default.nix40
1 files changed, 29 insertions, 11 deletions
diff --git a/pkgs/applications/emulators/mednafen/default.nix b/pkgs/applications/emulators/mednafen/default.nix
index f76ddb78bd56..235386cba258 100644
--- a/pkgs/applications/emulators/mednafen/default.nix
+++ b/pkgs/applications/emulators/mednafen/default.nix
@@ -1,28 +1,46 @@
-{ lib, stdenv, fetchurl, pkg-config, freeglut, libGLU, libGL, libcdio, libjack2
-, libsamplerate, libsndfile, libX11, SDL2, SDL2_net, zlib, alsa-lib }:
+{ lib
+, stdenv
+, fetchurl
+, SDL2
+, SDL2_net
+, alsa-lib
+, flac
+, freeglut
+, libGL
+, libGLU
+, libX11
+, libcdio
+, libjack2
+, libsamplerate
+, libsndfile
+, pkg-config
+, zlib
+}:
 
 stdenv.mkDerivation rec {
   pname = "mednafen";
-  version = "1.26.1";
+  version = "1.29.0";
 
   src = fetchurl {
     url = "https://mednafen.github.io/releases/files/${pname}-${version}.tar.xz";
-    sha256 = "1x7xhxjhwsdbak8l0iyb497f043xkhibk73w96xck4j2bk10fac4";
+    hash = "sha256-2j+88Ch3+b4PAov6XRy1npU6QEm5D+fjk4ijOG2fNi4=";
   };
 
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [
+    SDL2
+    SDL2_net
+    alsa-lib
+    flac
     freeglut
-    libGLU libGL
+    libGL
+    libGLU
+    libX11
     libcdio
     libjack2
-    alsa-lib
     libsamplerate
     libsndfile
-    libX11
-    SDL2
-    SDL2_net
     zlib
   ];
 
@@ -34,6 +52,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
+    homepage = "https://mednafen.github.io/";
     description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
     longDescription = ''
       Mednafen is a portable, utilizing OpenGL and SDL,
@@ -66,8 +85,7 @@ stdenv.mkDerivation rec {
       - Sega Saturn (experimental, x86_64 only)
       - Sony PlayStation
     '';
-    homepage = "https://mednafen.github.io/";
-    license = licenses.gpl2;
+    license = licenses.gpl2Plus;
     maintainers = with maintainers; [ AndersonTorres ];
     platforms = platforms.linux;
   };