1{ lib 2, appdirs 3, beautifulsoup4 4, buildPythonPackage 5, cryptography 6, fetchFromGitHub 7, frozendict 8, html5lib 9, multitasking 10, numpy 11, pandas 12, peewee 13, pythonOlder 14, requests 15, lxml 16}: 17 18buildPythonPackage rec { 19 pname = "yfinance"; 20 version = "0.2.31"; 21 format = "setuptools"; 22 23 disabled = pythonOlder "3.7"; 24 25 src = fetchFromGitHub { 26 owner = "ranaroussi"; 27 repo = pname; 28 rev = "refs/tags/${version}"; 29 hash = "sha256-GXnMzIjRx5c3O7J0bPjcdDvEIqTGMe002wYx28FLI6U="; 30 }; 31 32 propagatedBuildInputs = [ 33 appdirs 34 beautifulsoup4 35 cryptography 36 frozendict 37 html5lib 38 lxml 39 multitasking 40 numpy 41 pandas 42 peewee 43 requests 44 ]; 45 46 # Tests require internet access 47 doCheck = false; 48 49 pythonImportsCheck = [ 50 "yfinance" 51 ]; 52 53 meta = with lib; { 54 description = "Module to doiwnload Yahoo! Finance market data"; 55 homepage = "https://github.com/ranaroussi/yfinance"; 56 changelog = "https://github.com/ranaroussi/yfinance/blob/${version}/CHANGELOG.rst"; 57 license = licenses.asl20; 58 maintainers = with maintainers; [ drewrisinger ]; 59 }; 60}