Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / yfinance / default.nix
blobbc270fbb8e65dbb7a2a36aeb01ac27515e23b03f
2   lib,
3   appdirs,
4   beautifulsoup4,
5   buildPythonPackage,
6   cryptography,
7   fetchFromGitHub,
8   frozendict,
9   html5lib,
10   lxml,
11   multitasking,
12   numpy,
13   pandas,
14   peewee,
15   pythonOlder,
16   requests,
17   setuptools,
20 buildPythonPackage rec {
21   pname = "yfinance";
22   version = "0.2.38";
23   pyproject = true;
25   disabled = pythonOlder "3.7";
27   src = fetchFromGitHub {
28     owner = "ranaroussi";
29     repo = "yfinance";
30     rev = "refs/tags/${version}";
31     hash = "sha256-ZGwtu2vLcE9pM73umhnFwSzjQnGjTOTtVF607ox7I6E=";
32   };
34   build-system = [ setuptools ];
36   dependencies = [
37     appdirs
38     beautifulsoup4
39     cryptography
40     frozendict
41     html5lib
42     lxml
43     multitasking
44     numpy
45     pandas
46     peewee
47     requests
48   ];
50   # Tests require internet access
51   doCheck = false;
53   pythonImportsCheck = [ "yfinance" ];
55   meta = with lib; {
56     description = "Module to doiwnload Yahoo! Finance market data";
57     homepage = "https://github.com/ranaroussi/yfinance";
58     changelog = "https://github.com/ranaroussi/yfinance/blob/${version}/CHANGELOG.rst";
59     license = licenses.asl20;
60     maintainers = with maintainers; [ drewrisinger ];
61   };