mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 08:44:09 +01:00
It's a fork of streamdeck package made by streamcontroller author, required by streamcontroller. pkgs/development/python-modules/streamcontroller-streamdeck/default.nix is copied from pkgs/development/python-modules/streamdeck/default.nix with minor modification. Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
13 lines
616 B
Diff
13 lines
616 B
Diff
diff --git a/src/StreamDeck/Transport/LibUSBHIDAPI.py b/src/StreamDeck/Transport/LibUSBHIDAPI.py
|
|
index edf53a1..2d38af3 100644
|
|
--- a/src/StreamDeck/Transport/LibUSBHIDAPI.py
|
|
+++ b/src/StreamDeck/Transport/LibUSBHIDAPI.py
|
|
@@ -155,7 +155,7 @@ class LibUSBHIDAPI(Transport):
|
|
|
|
search_library_names = {
|
|
"Windows": ["hidapi.dll", "libhidapi-0.dll", "./hidapi.dll"],
|
|
- "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],
|
|
+ "Linux": ["@libusb@"],
|
|
"Darwin": ["libhidapi.dylib"],
|
|
"FreeBSD": ["libhidapi.so"],
|
|
}
|