Unverified Commit ccfbb9cd authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.starlette-compress: only use brotlicffi with PyPy (#478067)

parents b14e9503 5487d605
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3,9 +3,11 @@
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  isPyPy,
  brotli,
  brotlicffi,
  starlette,
  pythonOlder,
  zstandard,
  pytestCheckHook,
  httpx,
@@ -27,9 +29,10 @@ buildPythonPackage rec {
  build-system = [ hatchling ];

  dependencies = [
    brotli
    brotlicffi
    (if isPyPy then brotlicffi else brotli)
    starlette
  ]
  ++ lib.optionals (pythonOlder "3.14") [
    zstandard
  ];