2014-05-17 05:02:22 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2016-01-27 10:30:50 +01:00
|
|
|
name = "mednafen-server-${meta.version}";
|
2014-05-17 05:02:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-01-27 10:30:50 +01:00
|
|
|
url = "http://mednafen.fobby.net/releases/files/${name}.tar.gz";
|
2015-07-15 13:08:46 +02:00
|
|
|
sha256="06fal6hwrb8gw94yp7plhcz55109128cgp35m7zs5vvjf1zfhcs9";
|
2014-05-17 05:02:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2016-01-27 10:30:50 +01:00
|
|
|
version = "0.5.2";
|
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
|
|
|
};
|
|
|
|
}
|