nixpkgs/pkgs/development/python-modules/tornado/default.nix

30 lines
648 B
Nix
Raw Normal View History

2017-07-28 15:47:39 +01:00
{ lib
, python
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "tornado";
2020-11-29 14:04:44 +00:00
version = "6.1";
2017-07-28 15:47:39 +01:00
# 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 {
2020-06-20 10:20:00 +01:00
inherit pname version;
2020-11-29 14:04:44 +00:00
sha256 = "33c6e81d7bd55b468d2e793517c909b139960b6c790a60b7991b9b6b76fb9791";
2018-04-04 19:17:46 +01:00
};
__darwinAllowLocalNetworking = true;
2018-04-04 19:17:46 +01:00
meta = {
description = "A web framework and asynchronous networking library";
2020-06-20 10:20:00 +01:00
homepage = "https://www.tornadoweb.org/";
2018-04-04 19:17:46 +01:00
license = lib.licenses.asl20;
2017-07-28 15:47:39 +01:00
};
}