rizin-nix-plugins/rz-ghidra.nix

13 lines
497 B
Nix
Raw Normal View History

2022-07-28 18:42:08 +02:00
{ 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 ];
}