blob: 3e43a4f27f0c9bde811ae1ca31ea40458b9ec85f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ godot, lib }:
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)";
meta.maintainers = with lib.maintainers; [ twey yusdacra ];
})
|