python3Packages.starlette-compress: only use brotlicffi with PyPy

This commit is contained in:
Robert Schütz
2026-01-08 05:44:00 -08:00
parent de8538c9fd
commit d210d8337c
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
hatchling,
isPyPy,
brotli,
brotlicffi,
starlette,
@@ -27,8 +28,7 @@ buildPythonPackage rec {
build-system = [ hatchling ];
dependencies = [
brotli
brotlicffi
(if isPyPy then brotlicffi else brotli)
starlette
zstandard
];