yojimbo: use premake build hook
This commit is contained in:
parent
a06eb84705
commit
e0471b6c45
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user