2014-05-17 03:02:22 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mednafen-server";
|
2017-08-29 03:05:55 +00:00
|
|
|
version = "0.5.2";
|
2014-05-17 03:02:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-27 16:13:38 +00:00
|
|
|
url = "https://mednafen.github.io/releases/files/mednafen-server-${version}.tar.xz";
|
2017-08-29 03:05:55 +00:00
|
|
|
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
2014-05-17 03:02:22 +00:00
|
|
|
};
|
|
|
|
|
2017-09-27 16:13:38 +00:00
|
|
|
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
|
2014-05-17 03:02:22 +00:00
|
|
|
|
2014-09-10 18:59:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-17 03:02:22 +00:00
|
|
|
description = "Netplay server for Mednafen";
|
2020-03-03 12:15:30 +00:00
|
|
|
homepage = "https://mednafen.github.io/";
|
2014-09-10 18:59:54 +00:00
|
|
|
license = licenses.gpl2;
|
2017-09-27 16:13:38 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2014-09-10 18:59:54 +00:00
|
|
|
platforms = platforms.linux;
|
2014-05-17 03:02:22 +00:00
|
|
|
};
|
|
|
|
}
|