nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, python
3, buildPythonPackage
4, fetchPypi
5, pycares
6, pycurl
7, twisted
8}:
9
10buildPythonPackage rec {
11 pname = "tornado";
12 version = "6.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791";
17 };
18
19 checkInputs = [
20 pycares
21 pycurl
22 twisted
23 ];
24
25 pythonImportsCheck = [ "tornado" ];
26
27 __darwinAllowLocalNetworking = true;
28
29 meta = with lib; {
30 description = "A web framework and asynchronous networking library";
31 homepage = "https://www.tornadoweb.org/";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ SuperSandro2000 ];
34 };
35}