python310Packages.aioquic: Fix build with pyopenssl>22 and on darwin
This commit is contained in:
parent
6a8140257c
commit
7d5831a251
@ -25,10 +25,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-XjhyajDawN/G1nPtkMbNe66iJCo76UpdA7PqwtxO5ag=";
|
||||
})
|
||||
# https://github.com/aiortc/aioquic/pull/349, fixes test failure due pyopenssl==22
|
||||
(assert lib.versions.major pyopenssl.version == "22"; fetchpatch {
|
||||
(fetchpatch {
|
||||
url = "https://github.com/aiortc/aioquic/commit/c3b72be85868d67ee32d49ab9bd98a4357cbcde9.patch";
|
||||
hash = "sha256-AjW+U9DpNXgA5yqKkWnx0OYpY2sZR9KIdQ3pSzxU+uY=";
|
||||
})
|
||||
# AssertionError: 'self-signed certificate' != 'self signed certificate'
|
||||
(fetchpatch {
|
||||
url = "https://github.com/aiortc/aioquic/commit/cfcd3ce12fb27f5b26deb011a82f66b5d68d521a.patch";
|
||||
hash = "sha256-bCW817Z7jCxYySfUukNR4cibURH3qZWEQjeeyvRIqZY=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -43,6 +48,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "aioquic" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implementation of QUIC and HTTP/3";
|
||||
homepage = "https://github.com/aiortc/aioquic";
|
||||
|
Loading…
Reference in New Issue
Block a user