2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, pytestCheckHook
|
|
|
|
, untangle
|
|
|
|
, psutil
|
|
|
|
, trio
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pydevd";
|
|
|
|
version = "2.8.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fabioz";
|
|
|
|
repo = "PyDev.Debugger";
|
|
|
|
rev = "pydev_debugger_${lib.replaceStrings ["."] ["_"] version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-+yRngN10654trB09ZZa8QQsTPdM7VxVj7r6jh7OcgAA=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-08-12 12:06:08 +00:00
|
|
|
numpy
|
|
|
|
psutil
|
|
|
|
pytestCheckHook
|
|
|
|
trio
|
|
|
|
untangle
|
|
|
|
];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# Require network connection
|
|
|
|
"test_completion_sockets_and_messages"
|
|
|
|
"test_path_translation"
|
|
|
|
"test_attach_to_pid_no_threads"
|
|
|
|
"test_attach_to_pid_halted"
|
|
|
|
"test_remote_debugger_threads"
|
|
|
|
"test_path_translation_and_source_reference"
|
|
|
|
"test_attach_to_pid"
|
|
|
|
"test_terminate"
|
|
|
|
"test_gui_event_loop_custom"
|
|
|
|
# AssertionError: assert '/usr/bin/' == '/usr/bin'
|
|
|
|
# https://github.com/fabioz/PyDev.Debugger/issues/227
|
|
|
|
"test_to_server_and_to_client"
|
|
|
|
# AssertionError pydevd_tracing.set_trace_to_threads(tracing_func) == 0
|
|
|
|
"test_tracing_other_threads"
|
|
|
|
"test_tracing_basic"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pydevd" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)";
|
|
|
|
homepage = "https://github.com/fabioz/PyDev.Debugger";
|
|
|
|
license = licenses.epl10;
|
|
|
|
maintainers = with maintainers; [ onny ];
|
2023-03-27 19:17:25 +00:00
|
|
|
broken = true;
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
}
|