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:
parent
87e090cd8a
commit
8fd2c89b54
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user