diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-12-17 21:10:56 +0100 |
---|---|---|
committer | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-02-18 19:59:53 +0100 |
commit | d0836910add12fad3795523679098eba7f4731ba (patch) | |
tree | ce44e189de5ca11e6b6aa1e1e6238cb0da5412fc /pkgs/by-name/no | |
parent | 28d6a724f54085377102db7c3278ba82a0a5255f (diff) |
normcap: 0.4.4 -> 0.5.2
Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.4.4...v0.5.2
Diffstat (limited to 'pkgs/by-name/no')
-rw-r--r-- | pkgs/by-name/no/normcap/package.nix | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/pkgs/by-name/no/normcap/package.nix b/pkgs/by-name/no/normcap/package.nix index 8db68e9ae7e2b..f007c9f85ecd6 100644 --- a/pkgs/by-name/no/normcap/package.nix +++ b/pkgs/by-name/no/normcap/package.nix @@ -25,7 +25,7 @@ in ps.buildPythonApplication rec { pname = "normcap"; - version = "0.4.4"; + version = "0.5.2"; format = "pyproject"; disabled = ps.pythonOlder "3.9"; @@ -34,16 +34,19 @@ ps.buildPythonApplication rec { owner = "dynobo"; repo = "normcap"; rev = "refs/tags/v${version}"; - hash = "sha256-dShtmoqS9TC3PHuwq24OEOhYfBHGhDCma8Du8QCkFuI="; + hash = "sha256-WkC9sdi6fKEHnf2j+p8KjO+MNbHWDYn5HnjeYBZLUj4="; }; - pythonRemoveDeps = [ - "PySide6-Essentials" - ]; + postPatch = '' + # disable coverage testing + substituteInPlace pyproject.toml \ + --replace "addopts = [" "addopts_ = [" + ''; nativeBuildInputs = [ ps.pythonRelaxDepsHook - ps.poetry-core + ps.hatchling + ps.babel ]; propagatedBuildInputs = [ @@ -95,6 +98,13 @@ ps.buildPythonApplication rec { "test_get_copy_func_with_pbcopy" "test_get_copy_func_without_pbcopy" "test_perform_pbcopy" + # NSXPCSharedListener endpointForReply:withListenerName:replyErrorCode: + # while obtaining endpoint 'ClientCallsAuxiliary': Connection interrupted + # since v5.0.0 + "test_introduction_initialize_checkbox_state" + "test_introduction_checkbox_sets_return_code" + "test_introduction_toggle_checkbox_changes_return_code" + "test_show_introduction" ]; disabledTestPaths = [ @@ -105,6 +115,9 @@ ps.buildPythonApplication rec { ] ++ lib.optionals stdenv.isDarwin [ # requires a display "tests/integration/test_normcap.py" + "tests/integration/test_tray_menu.py" + # failure unknown, crashes in first test with `.show()` + "tests/tests_gui/test_loading_indicator.py" ]; meta = with lib; { |