python3Packages.alpha-vantage: init at 2.3.1
This commit is contained in:
parent
aedc67d64f
commit
bdd4e033ec
2 changed files with 51 additions and 0 deletions
49
pkgs/development/python-modules/alpha-vantage/default.nix
Normal file
49
pkgs/development/python-modules/alpha-vantage/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, requests-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alpha-vantage";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RomelTorres";
|
||||
repo = "alpha_vantage";
|
||||
rev = version;
|
||||
sha256 = "0cyw6zw7c7r076rmhnmg905ihwb9r7g511n6gdlph06v74pdls8d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
requests-mock
|
||||
pandas
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"test_alpha_vantage/test_integration_alphavantage.py"
|
||||
"test_alpha_vantage/test_integration_alphavantage_async.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "alpha_vantage" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for the Alpha Vantage API";
|
||||
homepage = "https://github.com/RomelTorres/alpha_vantage";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -397,6 +397,8 @@ in {
|
|||
|
||||
alot = callPackage ../development/python-modules/alot { };
|
||||
|
||||
alpha-vantage = callPackage ../development/python-modules/alpha-vantage { };
|
||||
|
||||
altair = callPackage ../development/python-modules/altair { };
|
||||
|
||||
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };
|
||||
|
|
Loading…
Reference in a new issue