forked from mirrors/nixpkgs
mednafen-server: use $out/share/mednafen-server for standard.conf
This commit is contained in:
parent
5449dd2bb7
commit
333a425e36
|
@ -1,25 +1,21 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "mednafen-server-${version}";
|
name = "mednafen-server-${version}";
|
||||||
version = "0.5.2";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mednafen.github.io/releases/files/mednafen-server-0.5.2.tar.xz";
|
url = "https://mednafen.github.io/releases/files/mednafen-server-${version}.tar.xz";
|
||||||
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
sha256 = "0xm7dj5nwnrsv69r72rcnlw03jm0l8rmrg3s05gjfvxyqmlb36dq";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = "install -m 644 -Dt $out/share/mednafen-server standard.conf";
|
||||||
mkdir -p $out/share/$name
|
|
||||||
install -m 644 -t $out/share/$name standard.conf
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Netplay server for Mednafen";
|
description = "Netplay server for Mednafen";
|
||||||
homepage = http://mednafen.github.io/;
|
homepage = https://mednafen.github.io/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.AndersonTorres ];
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue