python3Packages.yfinance: init at 0.1.54
This commit is contained in:
parent
9e8218bb25
commit
886a9bced5
36
pkgs/development/python-modules/yfinance/default.nix
Normal file
36
pkgs/development/python-modules/yfinance/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, multitasking
|
||||||
|
, numpy
|
||||||
|
, pandas
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "yfinance";
|
||||||
|
version = "0.1.54";
|
||||||
|
|
||||||
|
# GitHub source releases aren't tagged
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "cee223cbd31e14955869f7978bcf83776d644345c7dea31ba5d41c309bfb0d3d";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
multitasking
|
||||||
|
numpy
|
||||||
|
pandas
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -7734,6 +7734,8 @@ in {
|
|||||||
|
|
||||||
yattag = callPackage ../development/python-modules/yattag { };
|
yattag = callPackage ../development/python-modules/yattag { };
|
||||||
|
|
||||||
|
yfinance = callPackage ../development/python-modules/yfinance { };
|
||||||
|
|
||||||
xenomapper = disabledIf (!isPy3k) (callPackage ../applications/science/biology/xenomapper { });
|
xenomapper = disabledIf (!isPy3k) (callPackage ../applications/science/biology/xenomapper { });
|
||||||
|
|
||||||
z3 = (toPythonModule (pkgs.z3.override {
|
z3 = (toPythonModule (pkgs.z3.override {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user