Merge pull request #89511 from yusdacra/master

godot-server, godot-headless: init at 3.2.2
This commit is contained in:
Lassulus 2020-08-22 18:27:44 +02:00 committed by GitHub
commit 4cfd81acfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 0 deletions

View File

@ -9138,6 +9138,16 @@
fingerprint = "85F8 E850 F8F2 F823 F934 535B EC50 6589 9AEA AF4C";
}];
};
yusdacra = {
email = "y.bera003.06@protonmail.com";
github = "yusdacra";
githubId = 19897088;
name = "Yusuf Bera Ertan";
keys = [{
longkeyid = "rsa2048/0x61807181F60EFCB2";
fingerprint = "9270 66BD 8125 A45B 4AC4 0326 6180 7181 F60E FCB2";
}];
};
yvesf = {
email = "yvesf+nix@xapek.org";
github = "yvesf";

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

@ -0,0 +1,18 @@
{ godot, stdenv }:
godot.overrideAttrs (oldAttrs: rec {
pname = "godot-server";
sconsFlags = "target=release platform=server tools=no";
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)";
meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ];
})

View File

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