mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
160796b84b
commit
5082c85ea2
1 changed files with 3 additions and 5 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue