ddcutil: 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 08:54:45 +02:00
parent 175941b21f
commit 6fb46fd868
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, glib, i2c-tools, udev, libgudev, libusb, libdrm, xorg }: , glib, i2c-tools, udev, libgudev, libusb1, libdrm, xorg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ddcutil"; pname = "ddcutil";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ buildInputs = [
i2c-tools udev libgudev i2c-tools udev libgudev
glib libusb libdrm xorg.libXrandr glib libusb1 libdrm xorg.libXrandr
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {