summary refs log tree commit diff
path: root/pkgs/development/python-modules/tornado/default.nix
blob: c9fa36ec65df0c838d860a1313bd048ceb7efb47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, python
, buildPythonPackage
, fetchPypi
, pycares
, pycurl
, twisted
}:

buildPythonPackage rec {
  pname = "tornado";
  version = "6.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-m2MEGb3oTsZmv9fqCkyyqKZRwtXMzb3RlyoMhZ38PBM=";
  };

  checkInputs = [
    pycares
    pycurl
    twisted
  ];

  pythonImportsCheck = [ "tornado" ];

  __darwinAllowLocalNetworking = true;

  meta = with lib; {
    description = "A web framework and asynchronous networking library";
    homepage = "https://www.tornadoweb.org/";
    license = licenses.asl20;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}