mednaffe: Enable for Darwin, fix wrapping

OPNA2608 6f7d5ceb 3e3cb9b7

+7 -3
+7 -3
pkgs/applications/emulators/mednaffe/default.nix
··· 20 }; 21 22 nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; 23 buildInputs = [ gtk3 mednafen ]; 24 25 - postInstall = '' 26 - wrapProgram $out/bin/mednaffe \ 27 --prefix PATH ':' "${mednafen}/bin" 28 ''; 29 30 meta = with lib; { ··· 32 homepage = "https://github.com/AmatCoder/mednaffe"; 33 license = licenses.gpl3Plus; 34 maintainers = with maintainers; [ sheenobu yana AndersonTorres ]; 35 - platforms = platforms.linux; 36 }; 37 }
··· 20 }; 21 22 nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; 23 + 24 buildInputs = [ gtk3 mednafen ]; 25 26 + enableParallelBuilding = true; 27 + 28 + preFixup = '' 29 + gappsWrapperArgs+=( 30 --prefix PATH ':' "${mednafen}/bin" 31 + ) 32 ''; 33 34 meta = with lib; { ··· 36 homepage = "https://github.com/AmatCoder/mednaffe"; 37 license = licenses.gpl3Plus; 38 maintainers = with maintainers; [ sheenobu yana AndersonTorres ]; 39 + platforms = platforms.unix; 40 }; 41 }