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