2021-02-05 17:12:51 +00:00
|
|
|
{ godot, lib }:
|
2020-09-25 04:45:31 +00:00
|
|
|
godot.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "godot-server";
|
2022-10-30 15:09:59 +00:00
|
|
|
sconsFlags = [ "target=release" "platform=server" "tools=no" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp bin/godot_server.* $out/bin/godot-server
|
|
|
|
|
|
|
|
mkdir "$dev"
|
|
|
|
cp -r modules/gdnative/include $dev
|
|
|
|
|
|
|
|
mkdir -p "$man/share/man/man6"
|
|
|
|
cp misc/dist/linux/godot.6 "$man/share/man/man6/"
|
|
|
|
'';
|
|
|
|
meta.description =
|
|
|
|
"Free and Open Source 2D and 3D game engine (server build)";
|
2021-02-05 17:12:51 +00:00
|
|
|
meta.maintainers = with lib.maintainers; [ twey yusdacra ];
|
2020-09-25 04:45:31 +00:00
|
|
|
})
|