mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 22:33:08 +00:00
ghidra-extensions.ret-sync: init at unstable-2024-05-29
This commit is contained in:
parent
353ccf0c46
commit
b72d4eb3ce
@ -9,6 +9,8 @@ lib.makeScope newScope (self: {
|
||||
|
||||
machinelearning = self.callPackage ./extensions/machinelearning { inherit ghidra; };
|
||||
|
||||
ret-sync = self.callPackage ./extensions/ret-sync { };
|
||||
|
||||
sleighdevtools = self.callPackage ./extensions/sleighdevtools { inherit ghidra; };
|
||||
|
||||
})
|
||||
|
32
pkgs/tools/security/ghidra/extensions/ret-sync/default.nix
Normal file
32
pkgs/tools/security/ghidra/extensions/ret-sync/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGhidraExtension,
|
||||
ghidra,
|
||||
}:
|
||||
buildGhidraExtension {
|
||||
pname = "ret-sync-ghidra";
|
||||
version = "0-unstable-2024-05-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bootleg";
|
||||
repo = "ret-sync";
|
||||
rev = "0617c75746ddde7fe2bdbbf880175af8ad27553e";
|
||||
hash = "sha256-+G5ccdHnFL0sHpueuIYwLRU9FhzN658CYqQCHCBwxV4=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
cd ext_ghidra
|
||||
'';
|
||||
preInstall = ''
|
||||
correct_version=$(ls dist | grep ${ghidra.version})
|
||||
mv dist/$correct_version dist/safe.zip
|
||||
rm dist/ghidra*
|
||||
mv dist/safe.zip dist/$correct_version
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Reverse-Engineering Tools SYNChronization. Allows syncing between a debugging session and Ghidra";
|
||||
homepage = "https://github.com/bootleg/ret-sync";
|
||||
license = licenses.gpl3Only;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user