diff options
Diffstat (limited to 'pkgs/applications/emulators/mednafen/server.nix')
-rw-r--r-- | pkgs/applications/emulators/mednafen/server.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/mednafen/server.nix b/pkgs/applications/emulators/mednafen/server.nix new file mode 100644 index 0000000000000..24c13bf0228ce --- /dev/null +++ b/pkgs/applications/emulators/mednafen/server.nix @@ -0,0 +1,21 @@ +{ lib, stdenv, fetchurl }: + +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"; + + meta = with lib; { + description = "Netplay server for Mednafen"; + homepage = "https://mednafen.github.io/"; + license = licenses.gpl2; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = platforms.unix; + }; +} |