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