forked from mirrors/nixpkgs
luajit_openresty: init
This commit is contained in:
parent
0de79c608b
commit
0b467dfa95
|
@ -54,4 +54,9 @@ rec {
|
|||
inherit callPackage;
|
||||
};
|
||||
|
||||
luajit_openresty = import ../luajit/openresty.nix {
|
||||
self = luajit_openresty;
|
||||
inherit callPackage;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
10
pkgs/development/interpreters/luajit/openresty.nix
Normal file
10
pkgs/development/interpreters/luajit/openresty.nix
Normal 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";
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue