21 buildPythonPackage rec {
26 src = fetchFromGitHub {
30 sha256 = "04zgmp9z46k72ay6cz7plga6d3w3a6x41anabm7ramp7jdqf6na9";
33 propagatedBuildInputs = [
40 ] ++ lib.optionals (pythonOlder "3.8") [
52 doCheck = !stdenv.isDarwin;
54 __darwinAllowLocalNetworking = true;
57 # watchgod required the watchgod package, which isn't available in nixpkgs
58 "--ignore=tests/supervisors/test_reload.py"
62 "test_supported_upgrade_request"
63 "test_invalid_upgrade"
67 homepage = "https://www.uvicorn.org/";
68 description = "The lightning-fast ASGI server";
69 license = licenses.bsd3;
70 maintainers = with maintainers; [ wd15 ];