11 buildPythonPackage rec {
14 disabled = isPy27 || pythonAtLeast "3.10";
17 inherit pname version;
18 sha256 = "02jzd23l4r6fswmwxaica9ldlyc2p6q8dk6dyff7j58fmdzf853d";
23 name = "CVE-2023-28370.patch";
24 url = "https://github.com/tornadoweb/tornado/commit/32ad07c54e607839273b4e1819c347f5c8976b2f.patch";
25 hash = "sha256-2dpPHkNThOaZD8T2g1vb/I5WYZ/vy/t690539uprJyc=";
29 nativeCheckInputs = [ unittestCheckHook ];
31 # We specify the name of the test files to prevent
32 # https://github.com/NixOS/nixpkgs/issues/14634
33 unittestFlagsArray = [ "*_test.py" ];
35 __darwinAllowLocalNetworking = true;
38 description = "Web framework and asynchronous networking library";
39 homepage = "https://www.tornadoweb.org/";
40 license = lib.licenses.asl20;