2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mednafen-server";
|
|
|
|
version = "0.5.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://mednafen.github.io/releases/files/mednafen-server-${version}.tar.xz";
|
|
|
|
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Netplay server for Mednafen";
|
|
|
|
homepage = "https://mednafen.github.io/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2021-03-09 03:18:52 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|