biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / quandl / default.nix
blobea7a305eb3770f3fa4aee03d45880073e9ee50c2
2   lib,
3   buildPythonPackage,
4   factory-boy,
5   faker,
6   fetchPypi,
7   httpretty,
8   importlib-metadata,
9   inflection,
10   jsondate,
11   mock,
12   more-itertools,
13   numpy,
14   pandas,
15   parameterized,
16   pytestCheckHook,
17   python-dateutil,
18   pythonOlder,
19   requests,
20   six,
23 buildPythonPackage rec {
24   pname = "quandl";
25   version = "3.7.0";
26   format = "setuptools";
28   disabled = pythonOlder "3.6";
30   src = fetchPypi {
31     inherit version;
32     pname = "Quandl";
33     hash = "sha256-bguC+8eGFhCzV3xTlyd8QiDgZe7g/tTkbNa2AhZVtkw=";
34   };
36   patches = [ ./pandas2-datetime-removal.patch ];
38   propagatedBuildInputs = [
39     pandas
40     numpy
41     requests
42     inflection
43     python-dateutil
44     six
45     more-itertools
46   ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
48   nativeCheckInputs = [
49     factory-boy
50     faker
51     httpretty
52     jsondate
53     mock
54     parameterized
55     pytestCheckHook
56   ];
58   pythonImportsCheck = [ "quandl" ];
60   meta = with lib; {
61     description = "Quandl Python client library";
62     homepage = "https://github.com/quandl/quandl-python";
63     changelog = "https://github.com/quandl/quandl-python/blob/master/CHANGELOG.md";
64     license = licenses.mit;
65     maintainers = with maintainers; [ ilya-kolpakov ];
66   };