mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
0b9f605a2d
Mednafen: 0.9.36.4 -> 0.9.38.5 Server: 0.5.1 -> 0.5.2
26 lines
663 B
Nix
26 lines
663 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mednafen-server-${version}";
|
|
version = "0.5.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.sourceforge.net/project/mednafen/Mednafen-Server/${version}/${name}.tar.gz";
|
|
sha256="06fal6hwrb8gw94yp7plhcz55109128cgp35m7zs5vvjf1zfhcs9";
|
|
};
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/$name
|
|
install -m 644 -t $out/share/$name standard.conf
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Netplay server for Mednafen";
|
|
homepage = http://mednafen.sourceforge.net/;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|