Merge pull request #198527 from fabaff/nasdaq-data-link
python310Packages.nasdaq-data-link: init at 1.0.4
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, factory_boy
|
||||
, fetchFromGitHub
|
||||
, httpretty
|
||||
, inflection
|
||||
, jsondate
|
||||
, mock
|
||||
, more-itertools
|
||||
, numpy
|
||||
, pandas
|
||||
, parameterized
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nasdaq-data-link";
|
||||
version = "1.0.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nasdaq";
|
||||
repo = "data-link-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Q3Ay9FpJsvSVu0WU2bxFyo3ODKP/ZUo3SqsBtOGrIIE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
inflection
|
||||
more-itertools
|
||||
numpy
|
||||
pandas
|
||||
python-dateutil
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
factory_boy
|
||||
httpretty
|
||||
jsondate
|
||||
mock
|
||||
parameterized
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nasdaqdatalink"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for Nasdaq Data Link's RESTful API";
|
||||
homepage = "https://github.com/Nasdaq/data-link-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -5989,6 +5989,8 @@ self: super: with self; {
|
||||
|
||||
napari-svg = callPackage ../development/python-modules/napari-svg { };
|
||||
|
||||
nasdaq-data-link = callPackage ../development/python-modules/nasdaq-data-link { };
|
||||
|
||||
nats-py = callPackage ../development/python-modules/nats-py { };
|
||||
|
||||
nats-python = callPackage ../development/python-modules/nats-python { };
|
||||
|
||||
Reference in New Issue
Block a user