aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/misc/emulators/mednafen
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
committerKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
commit96f063dd321abc80ecaa156226cfb7cf9540315a (patch)
tree7a53ef61484fc7bfff6419b1fd635c67199f27d2 /nixpkgs/pkgs/misc/emulators/mednafen
parentaf58f08d3d524e7b008b73a8497ea710915ffaf1 (diff)
parentd96bd3394b734487d1c3bfbac0e8f17465e03afe (diff)
Merge commit 'd96bd3394b734487d1c3bfbac0e8f17465e03afe'
Diffstat (limited to 'nixpkgs/pkgs/misc/emulators/mednafen')
-rw-r--r--nixpkgs/pkgs/misc/emulators/mednafen/default.nix43
-rw-r--r--nixpkgs/pkgs/misc/emulators/mednafen/server.nix2
2 files changed, 38 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/misc/emulators/mednafen/default.nix b/nixpkgs/pkgs/misc/emulators/mednafen/default.nix
index 337d19804fc..777c9f043f4 100644
--- a/nixpkgs/pkgs/misc/emulators/mednafen/default.nix
+++ b/nixpkgs/pkgs/misc/emulators/mednafen/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, pkgconfig, freeglut, libGLU, libGL, libcdio, libjack2
-, libsamplerate, libsndfile, libX11, SDL, SDL_net, zlib }:
+, libsamplerate, libsndfile, libX11, SDL2, SDL2_net, zlib }:
stdenv.mkDerivation rec {
pname = "mednafen";
- version = "0.9.48";
+ version = "1.22.2";
src = fetchurl {
url = "https://mednafen.github.io/releases/files/${pname}-${version}.tar.xz";
- sha256 = "00i12mywhp43274aq466fwavglk5b7d8z8bfdna12ra9iy1hrk6k";
+ sha256 = "159gvzrf4as1fp74czzc14vamhd6s3hlnvwglfgdd5j6d6n37m7s";
};
nativeBuildInputs = [ pkgconfig ];
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
libsamplerate
libsndfile
libX11
- SDL
- SDL_net
+ SDL2
+ SDL2_net
zlib
];
@@ -34,7 +34,38 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
- homepage = https://mednafen.github.io/;
+ longDescription = ''
+ Mednafen is a portable, utilizing OpenGL and SDL,
+ argument(command-line)-driven multi-system emulator. Mednafen has the
+ ability to remap hotkey functions and virtual system inputs to a keyboard,
+ a joystick, or both simultaneously. Save states are supported, as is
+ real-time game rewinding. Screen snapshots may be taken, in the PNG file
+ format, at the press of a button. Mednafen can record audiovisual movies
+ in the QuickTime file format, with several different lossless codecs
+ supported.
+
+ The following systems are supported (refer to the emulation module
+ documentation for more details):
+
+ - Apple II/II+
+ - Atari Lynx
+ - Neo Geo Pocket (Color)
+ - WonderSwan
+ - GameBoy (Color)
+ - GameBoy Advance
+ - Nintendo Entertainment System
+ - Super Nintendo Entertainment System/Super Famicom
+ - Virtual Boy
+ - PC Engine/TurboGrafx 16 (CD)
+ - SuperGrafx
+ - PC-FX
+ - Sega Game Gear
+ - Sega Genesis/Megadrive
+ - Sega Master System
+ - Sega Saturn (experimental, x86_64 only)
+ - Sony PlayStation
+ '';
+ homepage = "https://mednafen.github.io/";
license = licenses.gpl2;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
diff --git a/nixpkgs/pkgs/misc/emulators/mednafen/server.nix b/nixpkgs/pkgs/misc/emulators/mednafen/server.nix
index 146d5320261..9a1edc00452 100644
--- a/nixpkgs/pkgs/misc/emulators/mednafen/server.nix
+++ b/nixpkgs/pkgs/misc/emulators/mednafen/server.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Netplay server for Mednafen";
- homepage = https://mednafen.github.io/;
+ homepage = "https://mednafen.github.io/";
license = licenses.gpl2;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;