python37Packages.quandl: fix build

This commit is contained in:
Jonathan Ringer 2020-06-23 16:21:16 -07:00
parent 707354f718
commit 9fbbbf1a54
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,7 +1,7 @@
{ {
lib, fetchPypi, buildPythonPackage, isPy3k, lib, fetchPypi, buildPythonPackage, isPy3k, pythonOlder,
# runtime dependencies # runtime dependencies
pandas, numpy, requests, inflection, python-dateutil, six, more-itertools, pandas, numpy, requests, inflection, python-dateutil, six, more-itertools, importlib-metadata,
# test suite dependencies # test suite dependencies
nose, unittest2, flake8, httpretty, mock, jsondate, parameterized, faker, factory_boy, nose, unittest2, flake8, httpretty, mock, jsondate, parameterized, faker, factory_boy,
# additional runtime dependencies are required on Python 2.x # additional runtime dependencies are required on Python 2.x
@ -45,6 +45,8 @@ buildPythonPackage rec {
pyOpenSSL pyOpenSSL
ndg-httpsclient ndg-httpsclient
pyasn1 pyasn1
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
]; ];
meta = with lib; { meta = with lib; {