diff --git a/pkgs/development/python-modules/finvizfinance/default.nix b/pkgs/development/python-modules/finvizfinance/default.nix index 4c9dc24151cf..609282a70311 100644 --- a/pkgs/development/python-modules/finvizfinance/default.nix +++ b/pkgs/development/python-modules/finvizfinance/default.nix @@ -12,7 +12,7 @@ requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "finvizfinance"; version = "1.3.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lit26"; repo = "finvizfinance"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-M/EyQgINdJLLfOFNm/RhqONz3slb4ukugHLdiozDY0s="; }; @@ -45,20 +45,22 @@ buildPythonPackage rec { # Tests require network access "test_finvizfinance_calendar" "test_finvizfinance_crypto" - "test_forex_performance_percentage" - "test_group_overview" + "test_finvizfinance_finvizfinance" "test_finvizfinance_insider" "test_finvizfinance_news" - "test_finvizfinance_finvizfinance" - "test_statements" + "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/${src.tag}"; + changelog = "https://github.com/lit26/finvizfinance/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ icyrockcom ]; }; -} +})