From 18df335c17d63a45651c5fef52f2cf4e080a9709 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 29 Aug 2017 00:05:55 -0300 Subject: [PATCH] Mednafen-server: change download location And some minor modifications --- pkgs/misc/emulators/mednafen/server.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/misc/emulators/mednafen/server.nix b/pkgs/misc/emulators/mednafen/server.nix index 3854caf22423..91a74171da9a 100644 --- a/pkgs/misc/emulators/mednafen/server.nix +++ b/pkgs/misc/emulators/mednafen/server.nix @@ -2,22 +2,22 @@ stdenv.mkDerivation rec { - name = "mednafen-server-${meta.version}"; + name = "mednafen-server-${version}"; + version = "0.5.2"; src = fetchurl { - url = "http://mednafen.fobby.net/releases/files/${name}.tar.gz"; - sha256="06fal6hwrb8gw94yp7plhcz55109128cgp35m7zs5vvjf1zfhcs9"; + url = "https://mednafen.github.io/releases/files/mednafen-server-0.5.2.tar.xz"; + sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq"; }; postInstall = '' - mkdir -p $out/share/$name + mkdir -p $out/share/$name install -m 644 -t $out/share/$name standard.conf ''; meta = with stdenv.lib; { - version = "0.5.2"; description = "Netplay server for Mednafen"; - homepage = http://mednafen.sourceforge.net/; + homepage = http://mednafen.github.io/; license = licenses.gpl2; maintainers = [ maintainers.AndersonTorres ]; platforms = platforms.linux;