Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 650 B view raw
1{ lib 2, python 3, buildPythonPackage 4, fetchPypi 5}: 6 7buildPythonPackage rec { 8 pname = "tornado"; 9 version = "6.0.4"; 10 11 # We specify the name of the test files to prevent 12 # https://github.com/NixOS/nixpkgs/issues/14634 13 checkPhase = '' 14 ${python.interpreter} -m unittest discover *_test.py 15 ''; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc"; 20 }; 21 22 __darwinAllowLocalNetworking = true; 23 24 meta = { 25 description = "A web framework and asynchronous networking library"; 26 homepage = "https://www.tornadoweb.org/"; 27 license = lib.licenses.asl20; 28 }; 29}