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