mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python.pkgs.tornado: fix optional dependency
This commit is contained in:
parent
e9794d5a38
commit
18275c60ff
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
, backports_ssl_match_hostname
|
||||
, certifi
|
||||
, singledispatch
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,7 +14,8 @@ buildPythonPackage rec {
|
|||
version = "4.5.3";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
propagatedBuildInputs = [ backports_abc backports_ssl_match_hostname certifi singledispatch ];
|
||||
propagatedBuildInputs = [ backports_abc certifi singledispatch ]
|
||||
++ lib.optional (pythonOlder "3.5") backports_ssl_match_hostname;
|
||||
|
||||
# We specify the name of the test files to prevent
|
||||
# https://github.com/NixOS/nixpkgs/issues/14634
|
||||
|
|
Loading…
Reference in a new issue