Mario Rodas 2023-07-06 16:20:00 -05:00
parent 89839ee098
commit b5c2106fc2

View File

@ -1,18 +1,20 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages }:
stdenv.mkDerivation rec {
pname = "luau";
version = "0.572";
version = "0.583";
src = fetchFromGitHub {
owner = "Roblox";
repo = "luau";
rev = version;
hash = "sha256-7pckVsxzEdy0YykyvaouNWmnETEi86Cs7kCxaoU5lHs=";
hash = "sha256-uyD3j5Xf5pGoqler1oi2IHuvt4xv6rFjQHJpmods4Qc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.cc.isClang [ llvmPackages.libunwind ];
installPhase = ''
runHook preInstall
@ -34,8 +36,9 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://luau-lang.org/";
description = "A fast, small, safe, gradually typed embeddable scripting language derived from Lua";
homepage = "https://luau-lang.org/";
changelog = "https://github.com/Roblox/luau/releases/tag/${version}";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];