hidapi: request libusb1 directly

This commit is contained in:
Florian Klink 2020-04-24 23:37:45 +02:00
parent e726e341c6
commit eac6c63db1
2 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, systemd, libusb
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, systemd, libusb1
, darwin }:
stdenv.mkDerivation rec {
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ ]
++ stdenv.lib.optionals stdenv.isLinux [ libusb systemd ];
++ stdenv.lib.optionals stdenv.isLinux [ libusb1 systemd ];
enableParallelBuilding = true;

View file

@ -12141,9 +12141,7 @@ in
heyefi = haskellPackages.heyefi;
hidapi = callPackage ../development/libraries/hidapi {
libusb = libusb1;
};
hidapi = callPackage ../development/libraries/hidapi { };
highfive = callPackage ../development/libraries/highfive { };