2021-01-25 08:26:54 +00:00
|
|
|
{ godot, lib }:
|
2020-08-22 16:39:26 +01:00
|
|
|
godot.overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "godot-headless";
|
|
|
|
sconsFlags = "target=release_debug platform=server tools=yes";
|
|
|
|
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-01-23 12:26:19 +00:00
|
|
|
meta.maintainers = with lib.maintainers; [ twey yusdacra ];
|
2020-08-22 16:39:26 +01:00
|
|
|
})
|