libressl: split branches and add 2.3.1 (close #11196)

2.3.x introduces some backward-incompatible changes but is still nice to have.

Both 2.3.1 and 2.2.4 are available and 2.2.4 is still the default for now.
This commit is contained in:
zimbatm 2015-11-23 23:04:38 +00:00 committed by Vladimír Čunát
parent 38371937d2
commit 144eed8bad
3 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libressl-${version}";
version = "2.3.1";
src = fetchurl {
url = "mirror://openbsd/LibreSSL/${name}.tar.gz";
sha256 = "410b58db4ebbcab43c3357612e591094f64fb9339269caa2e68728e36f8d589e";
};
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Free TLS/SSL implementation";
homepage = "http://www.libressl.org";
platforms = platforms.all;
maintainers = with maintainers; [ thoughtpolice wkennington fpletz ];
};
}

View file

@ -7949,7 +7949,10 @@ let
ffmpeg = ffmpeg_0;
};
libressl = callPackage ../development/libraries/libressl { };
libressl_2_2 = callPackage ../development/libraries/libressl/2.2.nix { };
libressl_2_3 = callPackage ../development/libraries/libressl/2.3.nix { };
# 2.3 breaks some backward-compability
libressl = libressl_2_2;
boringssl = callPackage ../development/libraries/boringssl { };