pythonPackages.Quandl: 3.2.1 -> 3.4.5

This commit is contained in:
Chris Ostrouchov 2018-11-29 08:56:40 -05:00 committed by Frederik Rietdijk
parent d5111b119c
commit 56fbdbca15

View File

@ -1,27 +1,21 @@
{ {
lib, fetchFromGitHub, buildPythonPackage, isPy3k, lib, fetchPypi, buildPythonPackage, isPy3k,
# runtime dependencies # runtime dependencies
pandas, numpy, requests, inflection, python-dateutil, six, more-itertools, pandas, numpy, requests, inflection, python-dateutil, six, more-itertools,
# test suite dependencies # test suite dependencies
nose, unittest2, flake8, httpretty, mock, factory_boy, jsondate, 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
pyOpenSSL ? null, ndg-httpsclient ? null, pyasn1 ? null pyOpenSSL ? null, ndg-httpsclient ? null, pyasn1 ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "quandl"; pname = "quandl";
version = "3.2.1"; version = "3.4.5";
sha256 = "0vc0pzs2px9yaqkqcmd2m1b2bq1iils8fs0xbl0989hjq791a4jr";
patches = [ ./allow-requests-v2.18.patch ]; src = fetchPypi {
inherit version;
# Tests do not work with fetchPypi pname = "Quandl";
src = fetchFromGitHub { sha256 = "1rflyc6q3wa5ghc5v81yw79yg7lkpgd2c22mgbb0cvza724k53ys";
owner = pname;
repo = "quandl-python";
rev = "refs/tags/v${version}";
inherit sha256;
fetchSubmodules = true; # Fetching by tag does not work otherwise
}; };
doCheck = true; doCheck = true;
@ -32,8 +26,10 @@ buildPythonPackage rec {
flake8 flake8
httpretty httpretty
mock mock
factory_boy
jsondate jsondate
parameterized
faker
factory_boy
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [