2014-05-17 04:02:22 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2017-08-29 04:05:55 +01:00
|
|
|
name = "mednafen-server-${version}";
|
|
|
|
version = "0.5.2";
|
2014-05-17 04:02:22 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-08-29 04:05:55 +01:00
|
|
|
url = "https://mednafen.github.io/releases/files/mednafen-server-0.5.2.tar.xz";
|
|
|
|
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
2014-05-17 04:02:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = ''
|
2017-08-29 04:05:55 +01:00
|
|
|
mkdir -p $out/share/$name
|
2014-05-17 04:02:22 +01:00
|
|
|
install -m 644 -t $out/share/$name standard.conf
|
|
|
|
'';
|
|
|
|
|
2014-09-10 19:59:54 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-17 04:02:22 +01:00
|
|
|
description = "Netplay server for Mednafen";
|
2017-08-29 04:05:55 +01:00
|
|
|
homepage = http://mednafen.github.io/;
|
2014-09-10 19:59:54 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2014-05-17 04:02:22 +01:00
|
|
|
};
|
|
|
|
}
|