python310Packages.yfinance: 0.1.74 -> 0.1.77
This commit is contained in:
parent
8a5f715b05
commit
c971baec07
1 changed files with 14 additions and 4 deletions
|
@ -1,25 +1,31 @@
|
|||
{ lib
|
||||
, appdirs
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, multitasking
|
||||
, numpy
|
||||
, pandas
|
||||
, pythonOlder
|
||||
, requests
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yfinance";
|
||||
version = "0.1.74";
|
||||
version = "0.1.77";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ranaroussi";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-3YOUdrLCluOuUieBwl15B6WHSXpMoNAjdeNJT3zmTTI=";
|
||||
hash = "sha256-gg9wX3WWacS5BmbR1wgdicFxhPN5b45KH0+obWmJ65g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
multitasking
|
||||
numpy
|
||||
pandas
|
||||
|
@ -27,8 +33,12 @@ buildPythonPackage rec {
|
|||
lxml
|
||||
];
|
||||
|
||||
doCheck = false; # Tests require internet access
|
||||
pythonImportsCheck = [ "yfinance" ];
|
||||
# Tests require internet access
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"yfinance"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yahoo! Finance market data downloader (+faster Pandas Datareader)";
|
||||
|
|
Loading…
Reference in a new issue