utsushi: fix build

It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
This commit is contained in:
Jan Tojnar 2020-04-04 12:49:23 +02:00
parent 38ed5c6d8e
commit 0851f48a02
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, autoreconfHook, pkg-config, boost, gtkmm2
, imagemagick, sane-backends, tesseract4, udev, libusb}:
, imagemagick, sane-backends, tesseract4, udev, libusb1}:
stdenv.mkDerivation rec {
pname = "utsushi";
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
imagemagick
sane-backends
udev.dev
libusb.dev
libusb1.dev
];
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=parentheses -Wno-error=unused-variable";