From c971baec071551dea1b137dfa3ea87a31e69237c Mon Sep 17 00:00:00 2001 From: Fabian Affolter <mail@fabian-affolter.ch> Date: Sun, 9 Oct 2022 11:24:20 +0200 Subject: [PATCH] python310Packages.yfinance: 0.1.74 -> 0.1.77 --- .../python-modules/yfinance/default.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/yfinance/default.nix b/pkgs/development/python-modules/yfinance/default.nix index 3e79dcf20e92..1a5e718d451b 100644 --- a/pkgs/development/python-modules/yfinance/default.nix +++ b/pkgs/development/python-modules/yfinance/default.nix @@ -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)";