python3Packages.libusb1: 1.9.2 -> 1.9.3

the hack in checkPhase is no longer needed since the issue has been
resolved: https://github.com/vpelletier/python-libusb1/issues/16
This commit is contained in:
Pavol Rusnak 2021-07-04 21:37:00 +02:00
parent 160796b84b
commit 5082c85ea2
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -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; {