anyio, httpx: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-10-07 01:14:29 +02:00
parent a989aa4619
commit c26c5a4371
2 changed files with 7 additions and 0 deletions

View File

@ -56,6 +56,9 @@ buildPythonPackage rec {
typing-extensions
];
# trustme uses pyopenssl
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
checkInputs = [
curio
hypothesis

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, brotli
, brotlicffi
, buildPythonPackage
@ -63,6 +64,9 @@ buildPythonPackage rec {
];
};
# trustme uses pyopenssl
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
checkInputs = [
chardet
pytestCheckHook