xpwn: build usb-based tools by replacing libusb1 dep with libusb

Otherwise the build fails to detect libusb and doesn't build
the 'xpwn' and 'dfu-util' tools.

New tools run but I don't have any suitable devices to test :).

(I believe latest iGadgets need a newer version of xpwn anyway)
This commit is contained in:
Will Dietz 2018-02-01 14:12:18 -06:00
parent 8818546d48
commit 5dc6306e9c

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake, zlib, libpng, bzip2, libusb1, openssl }:
{ stdenv, fetchgit, cmake, zlib, libpng, bzip2, libusb, openssl }:
stdenv.mkDerivation {
name = "xpwn-0.5.8git";
@ -18,7 +18,7 @@ stdenv.mkDerivation {
sed -i -e '/install/d' CMakeLists.txt
'';
buildInputs = [ cmake zlib libpng bzip2 libusb1 openssl ];
buildInputs = [ cmake zlib libpng bzip2 libusb openssl ];
cmakeFlags = [
"-DCMAKE_OSX_DEPLOYMENT_TARGET="