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

View file

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