godot-headless: init at 3.2.2

This commit is contained in:
Yusuf Bera Ertan 2020-08-22 18:39:26 +03:00
parent 1566bd7520
commit 92470eba19
No known key found for this signature in database
GPG Key ID: 61807181F60EFCB2
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ godot, stdenv }:
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 stdenv.lib.maintainers; [ twey yusdacra ];
})

View File

@ -3969,6 +3969,8 @@ in
gocryptfs = callPackage ../tools/filesystems/gocryptfs { };
godot = callPackage ../development/tools/godot {};
godot-headless = callPackage ../development/tools/godot/headless.nix { };
goklp = callPackage ../tools/networking/goklp {};