depot/third_party/nixpkgs/pkgs/development/python-modules/tornado/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

35 lines
646 B
Nix

{ lib
, python
, buildPythonPackage
, fetchPypi
, pycares
, pycurl
, twisted
}:
buildPythonPackage rec {
pname = "tornado";
version = "6.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-m2MEGb3oTsZmv9fqCkyyqKZRwtXMzb3RlyoMhZ38PBM=";
};
nativeCheckInputs = [
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 ];
};
}