rizin-nix-plugins/rz-ghidra.nix
2022-07-28 18:43:46 +02:00

12 lines
497 B
Nix

{ lib, stdenv, fetchgit, pkg-config, cmake, openssl, rizin, breakpointHook }: stdenv.mkDerivation {
name = "rz-ghidra";
src = fetchgit {
url = "https://github.com/rizinorg/rz-ghidra.git";
rev = "e70aa0f68310f18620153eed57b27fdfb9ba3018";
sha256 = "sha256-7GZdrxHGSAf1MlMdEpKDOa4Dxu5ckG+IlgAN+mp/U5E=";
fetchSubmodules = true;
};
mesonFlags = [ "-Djsc_folder=/build/source/" ];
buildInputs = [ rizin cmake openssl ];
nativeBuildInputs = [ pkg-config breakpointHook ];
}