2014-05-17 05:02:22 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "mednafen-server-${version}";
|
|
|
|
version = "0.5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-20 00:37:53 +02:00
|
|
|
url = "http://downloads.sourceforge.net/project/mednafen/Mednafen-Server/${version}/${name}.tar.gz";
|
2014-05-17 05:02:22 +02:00
|
|
|
sha256="0c5wvg938y3h4n5lb0dl8pvmjzphhkbba34r6ikpvdahq166ps4j";
|
|
|
|
};
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/$name
|
|
|
|
install -m 644 -t $out/share/$name standard.conf
|
|
|
|
'';
|
|
|
|
|
2014-09-10 20:59:54 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-17 05:02:22 +02:00
|
|
|
description = "Netplay server for Mednafen";
|
|
|
|
homepage = http://mednafen.sourceforge.net/;
|
2014-09-10 20:59:54 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2014-05-17 05:02:22 +02:00
|
|
|
};
|
|
|
|
}
|