luajit: bump to 2.1.0-beta1

+8 -4
+8 -4
pkgs/development/interpreters/luajit/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "luajit-${version}"; 5 - version = "2.0.4"; 5 + version = "2.1.0-beta1"; 6 + luaversion = "5.1"; 6 7 7 8 src = fetchurl { 8 9 url = "http://luajit.org/download/LuaJIT-${version}.tar.gz"; 9 - sha256 = "0zc0y7p6nx1c0pp4nhgbdgjljpfxsb5kgwp4ysz22l1p2bms83v2"; 10 + sha256 = "06170d38387c59d1292001a166e7f5524f5c5deafa8705a49a46fa42905668dd"; 10 11 }; 11 12 12 13 enableParallelBuilding = true; ··· 24 25 25 26 configurePhase = false; 26 27 buildFlags = [ "amalg" ]; # Build highly optimized version 27 - installPhase = "make install PREFIX=$out"; 28 + installPhase = '' 29 + make install INSTALL_INC=$out/include PREFIX=$out 30 + ln -s $out/bin/luajit* $out/bin/luajit 31 + ''; 28 32 29 33 meta = with stdenv.lib; { 30 34 description = "high-performance JIT compiler for Lua 5.1"; 31 35 homepage = http://luajit.org; 32 36 license = licenses.mit; 33 37 platforms = platforms.linux ++ platforms.darwin; 34 - maintainers = [ maintainers.thoughtpolice ]; 38 + maintainers = with maintainers ; [ thoughtpolice smironov ]; 35 39 }; 36 40 }