mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
30 lines
650 B
Nix
30 lines
650 B
Nix
{ lib
|
|
, python
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tornado";
|
|
version = "6.0.4";
|
|
|
|
# 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 {
|
|
inherit pname version;
|
|
sha256 = "0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc";
|
|
};
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
meta = {
|
|
description = "A web framework and asynchronous networking library";
|
|
homepage = "https://www.tornadoweb.org/";
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|