python3.pkgs.pyusb: remove unnecessary libusb-compat dependency

It was added in 4d7cc55344
without any rationale. python2.pkgs.nxt-python seems to build without it.
Maybe it for some reason uses the libusb-0.1 backend but propagating the compat library would not enable that.
This commit is contained in:
Jan Tojnar 2020-04-28 04:39:48 +02:00
parent 87e090cd8a
commit 8fd2c89b54
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, libusb, libusb1 }:
{ stdenv, fetchPypi, buildPythonPackage, libusb1 }:
buildPythonPackage rec {
pname = "pyusb";
@ -17,8 +17,6 @@ buildPythonPackage rec {
sed -i -e "s|find_library=None|find_library=lambda _:\"$libusb\"|" usb/backend/libusb1.py
'';
propagatedBuildInputs = [ libusb ];
# No tests included
doCheck = false;