1{ stdenv 2, buildPythonPackage 3, uvicorn 4, httpx 5, pytest-asyncio 6, pytestCheckHook 7, pytest-mock 8, requests 9, trustme 10}: 11 12buildPythonPackage rec { 13 pname = "uvicorn-tests"; 14 inherit (uvicorn) version; 15 16 src = uvicorn.testsout; 17 18 dontBuild = true; 19 dontInstall = true; 20 21 checkInputs = [ 22 uvicorn 23 httpx 24 pytestCheckHook 25 pytest-asyncio 26 pytest-mock 27 requests 28 trustme 29 ]; 30 31 doCheck = !stdenv.isDarwin; 32 33 __darwinAllowLocalNetworking = true; 34 35 disabledTests = [ 36 "test_supported_upgrade_request" 37 "test_invalid_upgrade" 38 ]; 39} 40