Merge pull request #129268 from prusnak/python-libusb1

python3Packages.libusb1: 1.9.2 -> 1.9.3
This commit is contained in:
Sandro 2021-07-05 18:57:39 +02:00 committed by GitHub
commit 116e7cef33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "libusb1";
version = "1.9.2";
version = "1.9.3";
src = fetchPypi {
inherit pname version;
sha256 = "17hqck808m59jv6m2g4hasnay44pycy3y0im01fq9jpr3ymcdbi7";
sha256 = "60e6ce37be064f6e51d02b25da44230ecc9c0b1fdb6f14568c71457d963c1749";
};
postPatch = ''
@ -20,9 +20,7 @@ buildPythonPackage rec {
checkInputs = [ pytest ];
checkPhase = ''
# USBPollerThread is unreliable. Let's not test it.
# See: https://github.com/vpelletier/python-libusb1/issues/16
py.test -k 'not testUSBPollerThreadExit' usb1/testUSB1.py
py.test usb1/testUSB1.py
'';
meta = with lib; {