Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / quandl / default.nix
blob85a8fdd12bccdd6da30a648c954831fa25b87853
1 { lib
2 , buildPythonPackage
3 , factory-boy
4 , faker
5 , fetchPypi
6 , httpretty
7 , importlib-metadata
8 , inflection
9 , jsondate
10 , mock
11 , more-itertools
12 , numpy
13 , pandas
14 , parameterized
15 , pytestCheckHook
16 , python-dateutil
17 , pythonOlder
18 , requests
19 , six
22 buildPythonPackage rec {
23   pname = "quandl";
24   version = "3.7.0";
25   format = "setuptools";
27   disabled = pythonOlder "3.6";
29   src = fetchPypi {
30     inherit version;
31     pname = "Quandl";
32     hash = "sha256-bguC+8eGFhCzV3xTlyd8QiDgZe7g/tTkbNa2AhZVtkw=";
33   };
35   patches = [
36     ./pandas2-datetime-removal.patch
37   ];
39   propagatedBuildInputs = [
40     pandas
41     numpy
42     requests
43     inflection
44     python-dateutil
45     six
46     more-itertools
47   ] ++ lib.optionals (pythonOlder "3.8") [
48     importlib-metadata
49   ];
51   nativeCheckInputs = [
52     factory-boy
53     faker
54     httpretty
55     jsondate
56     mock
57     parameterized
58     pytestCheckHook
59   ];
61   pythonImportsCheck = [
62     "quandl"
63   ];
65   meta = with lib; {
66     description = "Quandl Python client library";
67     homepage = "https://github.com/quandl/quandl-python";
68     changelog = "https://github.com/quandl/quandl-python/blob/master/CHANGELOG.md";
69     license = licenses.mit;
70     maintainers = with maintainers; [ ilya-kolpakov ];
71   };