depot/third_party/nixpkgs/pkgs/development/python-modules/yfinance/default.nix
Default email 3e7541c14f Project import generated by Copybara.
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
2022-01-07 12:07:37 +08:00

39 lines
781 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, multitasking
, numpy
, pandas
, requests
, lxml
}:
buildPythonPackage rec {
pname = "yfinance";
version = "0.1.68";
src = fetchFromGitHub {
owner = "ranaroussi";
repo = pname;
rev = version;
sha256 = "sha256-ubOC56DUViClARzMSRtDFrtxhilmVkhKMx9SxLbYFiA=";
};
propagatedBuildInputs = [
multitasking
numpy
pandas
requests
lxml
];
doCheck = false; # Tests require internet access
pythonImportsCheck = [ "yfinance" ];
meta = with lib; {
description = "Yahoo! Finance market data downloader (+faster Pandas Datareader)";
homepage = "https://aroussi.com/post/python-yahoo-finance";
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger ];
};
}