python3Packages.aiohttp: fix tests on aarch64-darwin

This commit is contained in:
Robert Schütz
2025-06-16 09:33:02 -07:00
parent 73e4d026a9
commit 801c894f10
2 changed files with 28 additions and 1 deletions
@@ -34,6 +34,7 @@
blockbuster,
freezegun,
gunicorn,
isa-l,
isal,
proxy-py,
pytest-codspeed,
@@ -59,6 +60,10 @@ buildPythonPackage rec {
hash = "sha256-ciZGOOfVXYoLzYNIkota3MXMRMxlztf+mFFo0y9r+Lk=";
};
patches = lib.optionals (!lib.meta.availableOn stdenv.hostPlatform isa-l) [
./remove-isal.patch
];
postPatch = ''
rm -r vendor
patchShebangs tools
@@ -105,7 +110,8 @@ buildPythonPackage rec {
blockbuster
freezegun
gunicorn
isal
# broken on aarch64-darwin
(if lib.meta.availableOn stdenv.hostPlatform isa-l then isal else null)
proxy-py
pytest-codspeed
pytest-cov-stub