luajit: bump to 2.1.0-beta1

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