Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / tornado / default.nix
blob893943cbc7201568ae1057f1fd4035f7f648fddd
1 { lib
2 , python
3 , buildPythonPackage
4 , fetchPypi
5 }:
7 buildPythonPackage rec {
8   pname = "tornado";
9   version = "6.1";
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   '';
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791";
20   };
22   __darwinAllowLocalNetworking = true;
24   meta = {
25     description = "A web framework and asynchronous networking library";
26     homepage = "https://www.tornadoweb.org/";
27     license = lib.licenses.asl20;
28   };