2013-11-15 16:20:29 +00:00
|
|
|
{stdenv, fetchurl} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
version = "2.0.2";
|
|
|
|
name = "LuaJIT-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-11-15 16:41:33 +00:00
|
|
|
url="http://luajit.org/download/${name}.tar.gz";
|
2013-11-15 16:20:29 +00:00
|
|
|
sha256="0f3cykihfdn3gi6na9p0xjd4jnv26z18m441n5vyg42q9abh4ln0";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
make install PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description= "Just-in-time compiler and interpreter for lua 5.1.";
|
|
|
|
homepage = http://luajit.org;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|