nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 720 B view raw
1{ lib 2, python 3, buildPythonPackage 4, fetchPypi 5, isPy27 6, pythonAtLeast 7}: 8 9buildPythonPackage rec { 10 pname = "tornado"; 11 version = "5.1.1"; 12 disabled = isPy27 || pythonAtLeast "3.10"; 13 14 # We specify the name of the test files to prevent 15 # https://github.com/NixOS/nixpkgs/issues/14634 16 checkPhase = '' 17 ${python.interpreter} -m unittest discover *_test.py 18 ''; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409"; 23 }; 24 25 __darwinAllowLocalNetworking = true; 26 27 meta = { 28 description = "A web framework and asynchronous networking library"; 29 homepage = "https://www.tornadoweb.org/"; 30 license = lib.licenses.asl20; 31 }; 32}