openfpgaloader: add optional dependencies
This avoids the following missing features:
hidapi-libusb not found: cmsis_dap support disabled
zlib library not found: can't flash intel/altera devices
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
, libftdi1
|
||||
, libusb1
|
||||
, udev
|
||||
, hidapi
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -25,6 +27,8 @@ stdenv.mkDerivation rec {
|
||||
libftdi1
|
||||
libusb1
|
||||
udev
|
||||
hidapi
|
||||
zlib
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user