normcap: 0.4.4 -> 0.5.2
Diff: https://github.com/dynobo/normcap/compare/refs/tags/v0.4.4...v0.5.2
This commit is contained in:
parent
28d6a724f5
commit
d0836910ad
1 changed files with 19 additions and 6 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue