mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
added lua-sec-0.5
This commit is contained in:
parent
a05ae93c66
commit
1d109fc211
27
pkgs/development/interpreters/lua-5/sec.nix
Normal file
27
pkgs/development/interpreters/lua-5/sec.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchurl, lua5, lua5_sockets, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.5";
|
||||
name = "lua-sec-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brunoos/luasec/archive/luasec-${version}.tar.gz";
|
||||
sha256 = "08rm12cr1gjdnbv2jpk7xykby9l292qmz2v0dfdlgb4jfj7mk034";
|
||||
};
|
||||
|
||||
buildInputs = [ lua5 openssl ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(
|
||||
linux
|
||||
LUAPATH="$out/lib/lua/${lua5.luaversion}"
|
||||
LUACPATH="$out/lib/lua/${lua5.luaversion}"
|
||||
INC_PATH="-I${lua5}/include"
|
||||
LIB_PATH="-L$out/lib");
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/brunoos/luasec";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.flosse ];
|
||||
};
|
||||
}
|
@ -3478,6 +3478,7 @@ let
|
||||
lua5_sockets = callPackage ../development/interpreters/lua-5/sockets.nix {};
|
||||
lua5_expat = callPackage ../development/interpreters/lua-5/expat.nix {};
|
||||
lua5_filesystem = callPackage ../development/interpreters/lua-5/filesystem.nix {};
|
||||
lua5_sec = callPackage ../development/interpreters/lua-5/sec.nix {};
|
||||
|
||||
luarocks = callPackage ../development/tools/misc/luarocks {
|
||||
lua = lua5;
|
||||
|
Loading…
Reference in New Issue
Block a user