mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
quictls: 3.1.5 -> 3.3.0
This commit is contained in:
parent
ca3b7d7085
commit
2fe3912fdb
@ -13,15 +13,15 @@
|
||||
, withCryptodev ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quictls";
|
||||
version = "3.1.5-quic1";
|
||||
version = "3.3.0-quic1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quictls";
|
||||
repo = "openssl";
|
||||
rev = "cb6841b741544bfd8868c1641ce96a934985509e";
|
||||
hash = "sha256-oR46jefarUGmBYjjpEvtKFzIOgSXSy58cLdX+P5ocA8=";
|
||||
rev = "openssl-${version}";
|
||||
hash = "sha256-kBPwldTJbJSuvBVylJNcLSJvF/Hbqh0mfT4Ub5Xc6dk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -32,8 +32,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
../openssl/3.0/openssl-disable-kernel-detection.patch
|
||||
|
||||
(if stdenv.hostPlatform.isDarwin
|
||||
then ../openssl/use-etc-ssl-certs-darwin.patch
|
||||
else ../openssl/use-etc-ssl-certs.patch)
|
||||
then ../openssl/3.3/use-etc-ssl-certs-darwin.patch
|
||||
else ../openssl/3.3/use-etc-ssl-certs.patch)
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@ -119,7 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional enableSSL3 "enable-ssl3"
|
||||
# We select KTLS here instead of the configure-time detection (which we patch out).
|
||||
# KTLS should work on FreeBSD 13+ as well, so we could enable it if someone tests it.
|
||||
++ lib.optional (stdenv.hostPlatform.isLinux && lib.versionAtLeast finalAttrs.version "3.0.0") "enable-ktls"
|
||||
++ lib.optional (stdenv.hostPlatform.isLinux && lib.versionAtLeast version "3.0.0") "enable-ktls"
|
||||
++ lib.optional stdenv.hostPlatform.isAarch64 "no-afalgeng"
|
||||
# OpenSSL needs a specific `no-shared` configure flag.
|
||||
# See https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options
|
||||
@ -176,11 +176,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/quictls/openssl/blob/${finalAttrs.src.rev}/CHANGES.md";
|
||||
changelog = "https://github.com/quictls/openssl/blob/openssl-${version}/CHANGES.md";
|
||||
description = "TLS/SSL and crypto library with QUIC APIs";
|
||||
homepage = "https://quictls.github.io";
|
||||
license = lib.licenses.openssl;
|
||||
maintainers = with lib.maintainers; [ izorkin ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user