diff options
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r-- | pkgs/applications/file-managers/browsr/default.nix | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/pkgs/applications/file-managers/browsr/default.nix b/pkgs/applications/file-managers/browsr/default.nix index ad35ae555d1a2..b859ab8d7e112 100644 --- a/pkgs/applications/file-managers/browsr/default.nix +++ b/pkgs/applications/file-managers/browsr/default.nix @@ -6,20 +6,19 @@ python3.pkgs.buildPythonApplication rec { pname = "browsr"; - version = "1.17.1"; - format = "pyproject"; + version = "1.18.0"; + pyproject = true; src = fetchFromGitHub { owner = "juftin"; repo = "browsr"; - rev = "v${version}"; - hash = "sha256-FExDKugFP94C3zMnR1V4QDPWeM2OtRH2ei0LNs3h06c="; + rev = "refs/tags/v${version}"; + hash = "sha256-Ygqoz1rNQwhU1/8NsHwQsSCqQ8gYwHEaAuIaVMCtKKA="; }; nativeBuildInputs = with python3.pkgs; [ hatchling pythonRelaxDepsHook - pytestCheckHook ]; propagatedBuildInputs = with python3.pkgs; [ @@ -48,18 +47,31 @@ python3.pkgs.buildPythonApplication rec { ]; }; + nativeCheckInputs = with python3.pkgs; [ + pytest-textual-snapshot + pytestCheckHook + ]; + pythonRelaxDeps = [ "art" "pandas" "pymupdf" "rich-click" + "rich-pixels" + "rich" "textual" ]; - pythonImportsCheck = [ "browsr" ]; + pythonImportsCheck = [ + "browsr" + ]; + + pytestFlagsArray = [ + "--snapshot-update" + ]; - # requires internet access disabledTests = [ + # Tests require internet access "test_github_screenshot" "test_github_screenshot_license" "test_textual_app_context_path_github" |