Last active
January 24, 2020 06:30
-
-
Save piq9117/c0a41d62e919b22415a047006452a90b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchzip }: | |
stdenv.mkDerivation rec { | |
name = "godot-mono"; | |
version = "3.1.2"; | |
src = fetchzip { | |
url = "https://downloads.tuxfamily.org/godotengine/${version}/mono/Godot_v${version}-stable_mono_x11_64.zip"; | |
sha256 = "0lzl9kin9pckcdl262fp4kfybjx0fbj79954xmz75jqazwgnp0dd"; | |
extraPostFetch = '' | |
chmod go-w $out | |
''; | |
}; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp -a . $out | |
ls $out | |
ln -sf $out/Godot_v${version}-stable_mono_x11.64 $out/bin/godot-mono | |
''; | |
meta = { | |
description = '' | |
Godot is a 2D and 3D, cross-platform, free and open-source game engine | |
released under the MIT license | |
''; | |
license = stdenv.lib.licenses.free; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment