summary refs log tree commit diff
path: root/pkgs/development/python-modules/libusb1
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-07-04 21:37:00 +0200
committerPavol Rusnak <pavol@rusnak.io>2021-07-04 21:42:03 +0200
commit5082c85ea25a1b3cd05c329e88b74e850f1cd7ee (patch)
tree2bef1f075fcd754f4c03d954c82723afe7ddb039 /pkgs/development/python-modules/libusb1
parent160796b84b748d6fb2fb48e3bf52ac839a3b60ef (diff)
downloadnixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar.gz
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar.bz2
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar.lz
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar.xz
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.tar.zst
nixpkgs-5082c85ea25a1b3cd05c329e88b74e850f1cd7ee.zip
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
Diffstat (limited to 'pkgs/development/python-modules/libusb1')
-rw-r--r--pkgs/development/python-modules/libusb1/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/libusb1/default.nix b/pkgs/development/python-modules/libusb1/default.nix
index cc0ba39e64e..0d8142645e1 100644
--- a/pkgs/development/python-modules/libusb1/default.nix
+++ b/pkgs/development/python-modules/libusb1/default.nix
@@ -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; {