rizin-nix-plugins/rz-ghidra.nix

13 lines
454 B
Nix
Raw Normal View History

2022-07-28 18:52:09 +02:00
{ lib, stdenv, fetchgit, pkg-config, cmake, openssl, rizin }: stdenv.mkDerivation {
2022-07-28 18:42:08 +02:00
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=.." ];
2022-07-28 18:42:08 +02:00
buildInputs = [ rizin cmake openssl ];
2022-07-28 18:52:09 +02:00
nativeBuildInputs = [ pkg-config ];
2022-07-28 18:42:08 +02:00
}