nixpkgs/pkgs/development/python-modules/quandl/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

69 lines
1.2 KiB
Nix

{ lib
, buildPythonPackage
, factory_boy
, faker
, fetchPypi
, httpretty
, importlib-metadata
, inflection
, jsondate
, mock
, more-itertools
, numpy
, pandas
, parameterized
, pytestCheckHook
, python-dateutil
, pythonOlder
, requests
, six
}:
buildPythonPackage rec {
pname = "quandl";
version = "3.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "Quandl";
sha256 = "6e0b82fbc7861610b3577c5397277c4220e065eee0fed4e46cd6b6021655b64c";
};
propagatedBuildInputs = [
pandas
numpy
requests
inflection
python-dateutil
six
more-itertools
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
nativeCheckInputs = [
factory_boy
faker
httpretty
jsondate
mock
parameterized
pytestCheckHook
];
pythonImportsCheck = [
"quandl"
];
meta = with lib; {
description = "Quandl Python client library";
homepage = "https://github.com/quandl/quandl-python";
changelog = "https://github.com/quandl/quandl-python/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ ilya-kolpakov ];
};
}