radare2: add propagated build inputs (#53667)

Fixes the cutter build which was broken when radare2 was moved away from
vendored dependencies in #51837.
This commit is contained in:
Timo Kaufmann 2019-01-08 21:55:44 +01:00 committed by GitHub
parent cb0b629894
commit 8c81099cda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,12 +75,19 @@ let
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ file libzip xxHash readline libusb libewf perl zlib openssl libuv ]
buildInputs = [ file readline libusb libewf perl zlib openssl libuv ]
++ optional useX11 [ gtkdialog vte gtk2 ]
++ optional rubyBindings [ ruby ]
++ optional pythonBindings [ python3 ]
++ optional luaBindings [ lua ];
propagatedBuildInputs = [
# radare2 exposes r_lib which depends on these libraries
file # for its list of magic numbers (`libmagic`)
libzip
xxHash
];
meta = {
description = "unix-like reverse engineering framework and commandline tools";
homepage = http://radare.org/;