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

30 lines
650 B
Nix
Raw Normal View History

2017-07-28 15:47:39 +01:00
{ lib
, python
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "tornado";
2020-06-20 10:20:00 +01:00
version = "6.0.4";
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;
sha256 = "0fe2d45ba43b00a41cd73f8be321a44936dc1aba233dee979f17a042b83eb6dc";
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
};
}