3
0
Fork 0
forked from mirrors/nixpkgs

luajit_openresty: init

This commit is contained in:
Gregory Anders 2021-08-19 05:52:24 -06:00
parent 0de79c608b
commit 0b467dfa95
6 changed files with 23 additions and 4 deletions

View file

@ -54,4 +54,9 @@ rec {
inherit callPackage;
};
luajit_openresty = import ../luajit/openresty.nix {
self = luajit_openresty;
inherit callPackage;
};
}

View file

@ -1,6 +1,8 @@
{ self, callPackage, lib }:
callPackage ./default.nix {
inherit self;
owner = "LuaJIT";
repo = "LuaJIT";
version = "2.0.5-2021-06-08";
rev = "98f95f69180d48ce49289d6428b46a9ccdd67a46";
isStable = true;

View file

@ -1,6 +1,8 @@
{ self, callPackage }:
callPackage ./default.nix {
inherit self;
owner = "LuaJIT";
repo = "LuaJIT";
version = "2.1.0-2021-06-25";
rev = "e957737650e060d5bf1c2909b741cc3dffe073ac";
isStable = false;

View file

@ -1,6 +1,8 @@
{ lib, stdenv, fetchFromGitHub, buildPackages
, name ? "luajit-${version}"
, isStable
, owner
, repo
, sha256
, rev
, version
@ -41,9 +43,7 @@ in
stdenv.mkDerivation rec {
inherit name version;
src = fetchFromGitHub {
owner = "LuaJIT";
repo = "LuaJIT";
inherit sha256 rev;
inherit owner repo sha256 rev;
};
luaversion = "5.1";

View file

@ -0,0 +1,10 @@
{ self, callPackage }:
callPackage ./default.nix rec {
inherit self;
owner = "openresty";
repo = "luajit2";
version = "2.1-20210510";
rev = "v${version}";
isStable = true;
sha256 = "1h21w5axwka2j9jb86yc69qrprcavccyr2qihiw4b76r1zxzalvd";
}

View file

@ -12663,7 +12663,7 @@ with pkgs;
### LUA interpreters
luaInterpreters = callPackage ./../development/interpreters/lua-5 {};
inherit (luaInterpreters) lua5_1 lua5_2 lua5_2_compat lua5_3 lua5_3_compat lua5_4 lua5_4_compat luajit_2_1 luajit_2_0;
inherit (luaInterpreters) lua5_1 lua5_2 lua5_2_compat lua5_3 lua5_3_compat lua5_4 lua5_4_compat luajit_openresty luajit_2_1 luajit_2_0;
lua5 = lua5_2_compat;
lua = lua5;