1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 08:28:20 +00:00

Merge pull request #142750 from prusnak/hwi

python3Packages.hwi: make compatible with libusb1 2.x
This commit is contained in:
Pavol Rusnak 2021-10-24 16:51:24 +02:00 committed by GitHub
commit f9340818a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,12 @@ buildPythonPackage rec {
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
doCheck = false;