mednafen: 1.26.1 -> 1.29.0

This commit is contained in:
AndersonTorres 2022-02-19 12:09:29 -03:00
parent 1af66969f8
commit 09640927e7

View File

@ -1,28 +1,46 @@
{ lib, stdenv, fetchurl, pkg-config, freeglut, libGLU, libGL, libcdio, libjack2 { lib
, libsamplerate, libsndfile, libX11, SDL2, SDL2_net, zlib, alsa-lib }: , stdenv
, fetchurl
, SDL2
, SDL2_net
, alsa-lib
, flac
, freeglut
, libGL
, libGLU
, libX11
, libcdio
, libjack2
, libsamplerate
, libsndfile
, pkg-config
, zlib
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mednafen"; pname = "mednafen";
version = "1.26.1"; version = "1.29.0";
src = fetchurl { src = fetchurl {
url = "https://mednafen.github.io/releases/files/${pname}-${version}.tar.xz"; url = "https://mednafen.github.io/releases/files/${pname}-${version}.tar.xz";
sha256 = "1x7xhxjhwsdbak8l0iyb497f043xkhibk73w96xck4j2bk10fac4"; hash = "sha256-2j+88Ch3+b4PAov6XRy1npU6QEm5D+fjk4ijOG2fNi4=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
freeglut
libGLU libGL
libcdio
libjack2
alsa-lib
libsamplerate
libsndfile
libX11
SDL2 SDL2
SDL2_net SDL2_net
alsa-lib
flac
freeglut
libGL
libGLU
libX11
libcdio
libjack2
libsamplerate
libsndfile
zlib zlib
]; ];
@ -34,6 +52,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://mednafen.github.io/";
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator"; description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
longDescription = '' longDescription = ''
Mednafen is a portable, utilizing OpenGL and SDL, Mednafen is a portable, utilizing OpenGL and SDL,
@ -66,8 +85,7 @@ stdenv.mkDerivation rec {
- Sega Saturn (experimental, x86_64 only) - Sega Saturn (experimental, x86_64 only)
- Sony PlayStation - Sony PlayStation
''; '';
homepage = "https://mednafen.github.io/"; license = licenses.gpl2Plus;
license = licenses.gpl2;
maintainers = with maintainers; [ AndersonTorres ]; maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux; platforms = platforms.linux;
}; };