godot-export-templates: init at 3.2.3
This commit is contained in:
parent
339f813869
commit
7142f594ba
17
pkgs/development/tools/godot/export-templates.nix
Normal file
17
pkgs/development/tools/godot/export-templates.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ godot, lib }:
|
||||
|
||||
# https://docs.godotengine.org/en/stable/development/compiling/compiling_for_x11.html#building-export-templates
|
||||
godot.overrideAttrs (oldAttrs: rec {
|
||||
pname = "godot-export-templates";
|
||||
sconsFlags = "target=release platform=x11 tools=no";
|
||||
installPhase = ''
|
||||
# The godot export command expects the export templates at
|
||||
# .../share/godot/templates/3.2.3.stable with 3.2.3 being the godot version.
|
||||
mkdir -p "$out/share/godot/templates/${oldAttrs.version}.stable"
|
||||
cp bin/godot.x11.opt.64 $out/share/godot/templates/${oldAttrs.version}.stable/linux_x11_64_release
|
||||
'';
|
||||
outputs = [ "out" ];
|
||||
meta.description =
|
||||
"Free and Open Source 2D and 3D game engine (export templates)";
|
||||
meta.maintainers = with lib.maintainers; [ twey jojosch ];
|
||||
})
|
@ -5046,6 +5046,8 @@ in
|
||||
|
||||
godot = callPackage ../development/tools/godot {};
|
||||
|
||||
godot-export-templates = callPackage ../development/tools/godot/export-templates.nix { };
|
||||
|
||||
godot-headless = callPackage ../development/tools/godot/headless.nix { };
|
||||
|
||||
godot-server = callPackage ../development/tools/godot/server.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user