Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 66 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchFromGitHub, setuptools, beautifulsoup4, datetime, lxml, pandas, pytest-mock, pytestCheckHook, requests,}:
buildPythonPackage (finalAttrs: { pname = "finvizfinance"; version = "1.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "lit26"; repo = "finvizfinance"; tag = "v${finalAttrs.version}"; hash = "sha256-M/EyQgINdJLLfOFNm/RhqONz3slb4ukugHLdiozDY0s="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytest-mock pytestCheckHook ];
dependencies = [ beautifulsoup4 datetime lxml pandas requests ];
pythonImportsCheck = [ "finvizfinance" ];
disabledTests = [ # Tests require network access "test_finvizfinance_calendar" "test_finvizfinance_crypto" "test_finvizfinance_finvizfinance" "test_finvizfinance_insider" "test_finvizfinance_news" "test_forex_performance_percentage" "test_group_overview" "test_screener_overview" "test_statements" "test_ticker_etf_holders_returns_list" "test_ticker_peer_returns_list" ];
meta = { description = "Finviz Finance information downloader"; homepage = "https://github.com/lit26/finvizfinance"; changelog = "https://github.com/lit26/finvizfinance/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ icyrockcom ]; };})