41 lines
612 B
Nix
41 lines
612 B
Nix
{
|
|
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";
|
|
};
|
|
}
|