Merge pull request #28668 from AndersonTorres/upload-mednafen

Mednafen: 0.9.38.7 -> 0.9.47
This commit is contained in:
Jörg Thalheim 2017-08-29 08:13:49 +01:00 committed by GitHub
commit e1f755e44f
2 changed files with 15 additions and 14 deletions

View File

@ -4,18 +4,20 @@
, SDL, SDL_net, zlib
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "mednafen-${meta.version}";
name = "mednafen-${version}";
version = "0.9.47";
src = fetchurl {
url = "http://mednafen.fobby.net/releases/files/${name}.tar.bz2";
sha256 = "1n6y7b86sv11vd6rv8if3wr4qyihkjai9km1s4smqcisi3pvxcqv";
url = "https://mednafen.github.io/releases/files/${name}.tar.xz";
sha256 = "0flz6bjkzs9qrw923s4cpqrz4b2dhc2w7pd8mgw0l1xbmrh7w4si";
};
buildInputs = with stdenv.lib;
[ pkgconfig libX11 mesa freeglut libjack2 libcdio libsndfile libsamplerate SDL SDL_net zlib ];
buildInputs =
[ pkgconfig libX11 mesa freeglut libjack2 libcdio
libsndfile libsamplerate SDL SDL_net zlib ];
# Install docs
postInstall = ''
@ -25,9 +27,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
version = "0.9.38.7";
description = "A portable, CLI-driven, SDL+OpenGL-based, multi-system emulator";
homepage = http://mednafen.sourceforge.net/;
homepage = http://mednafen.github.io/;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;

View File

@ -2,11 +2,12 @@
stdenv.mkDerivation rec {
name = "mednafen-server-${meta.version}";
name = "mednafen-server-${version}";
version = "0.5.2";
src = fetchurl {
url = "http://mednafen.fobby.net/releases/files/${name}.tar.gz";
sha256="06fal6hwrb8gw94yp7plhcz55109128cgp35m7zs5vvjf1zfhcs9";
url = "https://mednafen.github.io/releases/files/mednafen-server-0.5.2.tar.xz";
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
};
postInstall = ''
@ -15,9 +16,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
version = "0.5.2";
description = "Netplay server for Mednafen";
homepage = http://mednafen.sourceforge.net/;
homepage = http://mednafen.github.io/;
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;