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