2021-02-05 17:12:51 +00:00
|
|
|
{ godot, lib }:
|
2020-09-25 04:45:31 +00:00
|
|
|
godot.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "godot-headless";
|
2022-10-30 15:09:59 +00:00
|
|
|
sconsFlags = [ "target=release_debug" "platform=server" "tools=yes" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp bin/godot_server.* $out/bin/godot-headless
|
|
|
|
|
|
|
|
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 (headless build)";
|
2021-02-05 17:12:51 +00:00
|
|
|
meta.maintainers = with lib.maintainers; [ twey yusdacra ];
|
2020-09-25 04:45:31 +00:00
|
|
|
})
|