{ lib, python, buildPythonPackage, ghidra, setuptools, psutil, ghidratrace, }: buildPythonPackage { pname = "ghidralldb"; version = "11.3"; pyproject = true; src = "${ghidra.lib}/lib/ghidra/Ghidra/Debug/Debugger-agent-lldb/pypkg"; postPatch = '' rm -rf dist ''; build-system = [ setuptools ]; dependencies = [ ghidratrace psutil ]; # can't import because lldb is missing # pythonImportsCheck = [ # "ghidralldb" # ]; meta = (lib.removeAttrs ghidra.meta ["description" "mainProgram"]) // { description = "Ghidra's Plugin for lldb"; }; }