python3Packages.hwi: make compatible with libusb1 2.x
This commit is contained in:
parent
da675ab0ef
commit
ed8e11e6a5
@ -31,6 +31,12 @@ buildPythonPackage rec {
|
|||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# make compatible with libusb1 2.x
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace 'libusb1>=1.7,<2.0' 'libusb1>=1.7'
|
||||||
|
'';
|
||||||
|
|
||||||
# tests require to clone quite a few firmwares
|
# tests require to clone quite a few firmwares
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user