diff options
author | Kim Simmons <zoomulator@gmail.com> | 2013-11-15 17:20:29 +0100 |
---|---|---|
committer | Kim Simmons <zoomulator@gmail.com> | 2013-11-15 17:20:29 +0100 |
commit | a8e31672284c2f894290fba5ff9e1aa6fd7c3a08 (patch) | |
tree | 3169eb996b5eb93e66414d528fc6894c8a534b28 /pkgs/development | |
parent | fd7bc4ebfd0bd86a86606cbc4ee22fbab44c5515 (diff) |
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.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/interpreters/luajit/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/luajit/default.nix b/pkgs/development/interpreters/luajit/default.nix new file mode 100644 index 000000000000..f4a8e3169275 --- /dev/null +++ b/pkgs/development/interpreters/luajit/default.nix @@ -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; + }; +} |