2017-07-28 07:47:39 -07:00
|
|
|
{ lib
|
|
|
|
, python
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tornado";
|
2020-06-20 02:20:00 -07:00
|
|
|
version = "6.0.4";
|
2017-07-28 07:47:39 -07:00
|
|
|
|
|
|
|
# We specify the name of the test files to prevent
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/14634
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover *_test.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchPypi {
|
2020-06-20 02:20:00 -07:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc";
|
2018-04-04 11:17:46 -07:00
|
|
|
};
|
|
|
|
|
2019-02-12 14:54:54 -08:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2018-04-04 11:17:46 -07:00
|
|
|
meta = {
|
|
|
|
description = "A web framework and asynchronous networking library";
|
2020-06-20 02:20:00 -07:00
|
|
|
homepage = "https://www.tornadoweb.org/";
|
2018-04-04 11:17:46 -07:00
|
|
|
license = lib.licenses.asl20;
|
2017-07-28 07:47:39 -07:00
|
|
|
};
|
|
|
|
}
|