12 lines
454 B
Nix
12 lines
454 B
Nix
{ lib, stdenv, fetchgit, pkg-config, cmake, openssl, rizin }: 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=.." ];
|
|
buildInputs = [ rizin cmake openssl ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
}
|