2014-05-17 04:02:22 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2016-01-27 09:30:50 +00:00
|
|
|
name = "mednafen-server-${meta.version}";
|
2014-05-17 04:02:22 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-01-27 09:30:50 +00:00
|
|
|
url = "http://mednafen.fobby.net/releases/files/${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; {
|
2016-01-27 09:30:50 +00:00
|
|
|
version = "0.5.2";
|
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
|
|
|
};
|
|
|
|
}
|