mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
Merge pull request #89511 from yusdacra/master
godot-server, godot-headless: init at 3.2.2
This commit is contained in:
commit
4cfd81acfa
@ -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";
|
||||
|
18
pkgs/development/tools/godot/headless.nix
Normal file
18
pkgs/development/tools/godot/headless.nix
Normal 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 ];
|
||||
})
|
18
pkgs/development/tools/godot/server.nix
Normal file
18
pkgs/development/tools/godot/server.nix
Normal 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 ];
|
||||
})
|
@ -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 {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user