boringssl: 2017-02-23 -> 2019-12-04

This commit is contained in:
Franz Pletz 2020-04-08 16:42:16 +02:00
parent b0b0d3d517
commit 89b673b9e6
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -3,24 +3,23 @@
# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md # reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "boringssl"; pname = "boringssl";
version = "2017-02-23"; version = "2019-12-04";
src = fetchgit { src = fetchgit {
url = "https://boringssl.googlesource.com/boringssl"; url = "https://boringssl.googlesource.com/boringssl";
rev = "be2ee342d3781ddb954f91f8a7e660c6f59e87e5"; rev = "243b5cc9e33979ae2afa79eaa4e4c8d59db161d4";
sha256 = "022zq7wlkhrg6al7drr3555lam3zw5bb10ylf9mznp83s854f975"; sha256 = "1ak27dln0zqy2vj4llqsb99g03sk0sg25wlp09b58cymrh3gccvl";
}; };
buildInputs = [ cmake perl go ]; nativeBuildInputs = [ cmake perl go ];
enableParallelBuilding = true; enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = "-Wno-error";
makeFlags = [ "GOCACHE=$(TMPDIR)/go-cache" ]; makeFlags = [ "GOCACHE=$(TMPDIR)/go-cache" ];
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/include $out/lib mkdir -p $bin/bin $out/include $out/lib
mv tool/bssl $out/bin mv tool/bssl $bin/bin
mv ssl/libssl.a $out/lib mv ssl/libssl.a $out/lib
mv crypto/libcrypto.a $out/lib mv crypto/libcrypto.a $out/lib
@ -29,6 +28,8 @@ stdenv.mkDerivation {
mv ../include/openssl $out/include mv ../include/openssl $out/include
''; '';
outputs = [ "out" "bin" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Free TLS/SSL implementation"; description = "Free TLS/SSL implementation";
homepage = "https://boringssl.googlesource.com"; homepage = "https://boringssl.googlesource.com";