mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-27 07:37:47 +03:00
LuaJIT: New package
Just-in-time compiler for lua 5.1 with strong focus on performance. Uses the same API as lua 5.1 which makes it extremely easy to integrate.
This commit is contained in:
parent
fd7bc4ebfd
commit
a8e3167228
22
pkgs/development/interpreters/luajit/default.nix
Normal file
22
pkgs/development/interpreters/luajit/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{stdenv, fetchurl} :
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec{
|
||||||
|
version = "2.0.2";
|
||||||
|
name = "LuaJIT-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url="http://luajit.org/download/LuaJIT-2.0.2.tar.gz";
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
@ -3174,6 +3174,8 @@ let
|
|||||||
lua = lua5;
|
lua = lua5;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
luajit = callPackage ../development/interpreters/luajit {};
|
||||||
|
|
||||||
lush2 = callPackage ../development/interpreters/lush {};
|
lush2 = callPackage ../development/interpreters/lush {};
|
||||||
|
|
||||||
maude = callPackage ../development/interpreters/maude { };
|
maude = callPackage ../development/interpreters/maude { };
|
||||||
|
Loading…
Reference in New Issue
Block a user