diff --git a/pkgs/development/python-modules/sanic-testing/default.nix b/pkgs/development/python-modules/sanic-testing/default.nix index 173e2b91ff79..398f3dad6322 100644 --- a/pkgs/development/python-modules/sanic-testing/default.nix +++ b/pkgs/development/python-modules/sanic-testing/default.nix @@ -23,6 +23,10 @@ buildPythonPackage rec { "testsout" ]; + postPatch = '' + sed -i 's/httpx>=.*"/httpx"/' setup.py + ''; + propagatedBuildInputs = [ httpx sanic