Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 36 lines 771 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, multitasking 5, numpy 6, pandas 7, requests 8}: 9 10buildPythonPackage rec { 11 pname = "yfinance"; 12 version = "0.1.54"; 13 14 # GitHub source releases aren't tagged 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "cee223cbd31e14955869f7978bcf83776d644345c7dea31ba5d41c309bfb0d3d"; 18 }; 19 20 propagatedBuildInputs = [ 21 multitasking 22 numpy 23 pandas 24 requests 25 ]; 26 27 doCheck = false; # Tests require internet access 28 pythonImportsCheck = [ "yfinance" ]; 29 30 meta = with lib; { 31 description = "Yahoo! Finance market data downloader (+faster Pandas Datareader)"; 32 homepage = "https://aroussi.com/post/python-yahoo-finance"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ drewrisinger ]; 35 }; 36}