nixpkgs/pkgs/development/python-modules/quandl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, factory_boy
, faker
, fetchPypi
, httpretty
, importlib-metadata
, inflection
, jsondate
, mock
, more-itertools
, numpy
, pandas
, parameterized
, pytestCheckHook
, python-dateutil
, pythonOlder
, requests
, six
2017-11-30 12:48:46 +00:00
}:
buildPythonPackage rec {
pname = "quandl";
2021-12-07 08:56:22 +00:00
version = "3.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
2017-11-30 12:48:46 +00:00
2018-11-29 13:56:40 +00:00
src = fetchPypi {
inherit version;
pname = "Quandl";
2021-12-07 08:56:22 +00:00
sha256 = "6e0b82fbc7861610b3577c5397277c4220e065eee0fed4e46cd6b6021655b64c";
2017-11-30 12:48:46 +00:00
};
propagatedBuildInputs = [
pandas
numpy
requests
inflection
python-dateutil
six
more-itertools
2020-06-23 23:21:16 +00:00
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
2017-11-30 12:48:46 +00:00
];
checkInputs = [
factory_boy
faker
httpretty
jsondate
mock
parameterized
pytestCheckHook
];
pythonImportsCheck = [
"quandl"
];
meta = with lib; {
2017-11-30 12:48:46 +00:00
description = "Quandl Python client library";
homepage = "https://github.com/quandl/quandl-python";
2021-04-09 14:51:55 +00:00
changelog = "https://github.com/quandl/quandl-python/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ ilya-kolpakov ];
2017-11-30 12:48:46 +00:00
};
}