Merge pull request #61818 from vcunat/p/lua-tls

lua*Packages TLS updates
This commit is contained in:
Matthieu Coudron 2019-05-23 17:40:06 +09:00 committed by GitHub
commit 3a7a7a7695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -324,15 +324,16 @@ with self; {
luaossl = buildLuaPackage rec { luaossl = buildLuaPackage rec {
name = "luaossl-${version}"; name = "luaossl-${version}";
version = "20170903"; version = "20181207";
src = fetchurl { src = fetchurl {
url = "https://www.25thandclement.com/~william/projects/releases/${name}.tgz"; url = "https://github.com/wahern/luaossl/releases/download/rel-${version}/luaossl-rel-${version}.zip";
sha256 = "10392bvd0lzyibipblgiss09zlqh3a5zgqg1b9lgbybpqb9cv2k3"; sha256 = "194r6db80ksh4zh8d2k35q6vci9zbrfvkanjl280y6ij2xyhkvj7";
}; };
preConfigure = ''export prefix=$out''; preConfigure = ''export prefix=$out'';
nativeBuildInputs = [ unzip ];
buildInputs = [ openssl ]; buildInputs = [ openssl ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -379,13 +380,13 @@ with self; {
}; };
luasec = buildLuaPackage rec { luasec = buildLuaPackage rec {
name = "sec-0.6"; name = "sec-0.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "brunoos"; owner = "brunoos";
repo = "luasec"; repo = "luasec";
rev = "lua${name}"; rev = "lua${name}";
sha256 = "0wv8l7f7na7kw5xn8mjik2wpxbizl7zvvp5s7fcwvz9kl5jdpk5b"; sha256 = "1cgb7ihnrrfr59a2da4d3chr7lqpid98xpglmzhv3hrpg4x5sksz";
}; };
propagatedBuildInputs = [ luasocket ]; propagatedBuildInputs = [ luasocket ];