yojimbo: use premake build hook

This commit is contained in:
Matthew Bauer 2018-11-26 20:13:40 -06:00
parent a06eb84705
commit e0471b6c45

View File

@ -15,9 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ premake5 doxygen ];
propagatedBuildInputs = [ libsodium mbedtls ];
buildPhase = ''
premake5 gmake
make all
postBuild = ''
premake5 docs
'';
@ -28,6 +26,8 @@ stdenv.mkDerivation rec {
cp -r docs/html $out/share/doc/yojimbo
'';
doCheck = true;
meta = with stdenv.lib; {
description = "A network library for client/server games with dedicated servers";
longDescription = ''