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