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