summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-04-04 20:17:46 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-08 11:34:56 +0200
commitdd936ccdb9bb04436f4e045998f305de12a67eb2 (patch)
tree9a79dc7e4655f75647f84ce79c96e2760126ef12 /pkgs/development/python-modules
parente9a1f1ce4342f51a6500c0f7219b3d4736b03dde (diff)
python: tornado: 4.5.3 -> 5.0.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/tornado/default.nix16
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/tornado/default.nix b/pkgs/development/python-modules/tornado/default.nix
index ec431a6e85b3..ec21cd164ff4 100644
--- a/pkgs/development/python-modules/tornado/default.nix
+++ b/pkgs/development/python-modules/tornado/default.nix
@@ -7,15 +7,17 @@
, certifi
, singledispatch
, pythonOlder
+, futures
}:
buildPythonPackage rec {
pname = "tornado";
- version = "4.5.3";
- name = "${pname}-${version}";
+ version = "5.0.1";
+
propagatedBuildInputs = [ backports_abc certifi singledispatch ]
- ++ lib.optional (pythonOlder "3.5") backports_ssl_match_hostname;
+ ++ lib.optional (pythonOlder "3.5") backports_ssl_match_hostname
+ ++ lib.optional (pythonOlder "3.2") futures;
# We specify the name of the test files to prevent
# https://github.com/NixOS/nixpkgs/issues/14634
@@ -25,6 +27,12 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
- sha256 = "6d14e47eab0e15799cf3cdcc86b0b98279da68522caace2bd7ce644287685f0a";
+ sha256 = "3e9a2333362d3dad7876d902595b64aea1a2f91d0df13191ea1f8bca5a447771";
+ };
+
+ meta = {
+ description = "A web framework and asynchronous networking library";
+ homepage = http://www.tornadoweb.org/;
+ license = lib.licenses.asl20;
};
}