Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
godot_3 # Godot Engine
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
godot_3 # Godot Engine
];
} Package Definition
{
"pname": "godot_3",
"version": "3.6.3",
"src": {
"url": "https://github.com/godotengine/godot/releases/download/3.6.3-stable/Godot_v3.6.3-stable_osx.universal.zip",
"sha256": "5324c4ef7105e6f60a0efb91d448ed36747694821eac091b29104a470d197497"
},
"installPhase": [
"mkdir -p \"$out/Applications/Godot.app\" && cp -r \"Godot.app\" \"$out/Applications\"",
"mkdir -p \"$out/bin\" && ln -s \"$out/Applications/Godot.app/Contents/MacOS/Godot\" \"$out/bin/godot\""
],
"meta": {
"description": "Game development engine",
"homepage": "https://godotengine.org/"
}
}