summary refs log tree commit diff
path: root/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2022-07-18 08:29:53 +0200
committerVladimír Čunát <v@cunat.cz>2022-07-18 08:29:53 +0200
commit250922fd1e061f2132d33b778424f4e9ed42354a (patch)
treec26970f54a01d8d612c82818de8d2104172b9fa0 /pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
parent0ff0b14968e7474fbb917fbb096a8d89d121922f (diff)
parent950a258b9ef24ca4346bbf722a694c2ab54e4654 (diff)
downloadnixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.gz
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.bz2
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.lz
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.xz
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.tar.zst
nixpkgs-250922fd1e061f2132d33b778424f4e9ed42354a.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/python-modules/streamdeck/hardcode-libusb.patch')
-rw-r--r--pkgs/development/python-modules/streamdeck/hardcode-libusb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch b/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
new file mode 100644
index 00000000000..acef15b5405
--- /dev/null
+++ b/pkgs/development/python-modules/streamdeck/hardcode-libusb.patch
@@ -0,0 +1,13 @@
+diff --git a/src/StreamDeck/Transport/LibUSBHIDAPI.py b/src/StreamDeck/Transport/LibUSBHIDAPI.py
+index 824c59c..f13754e 100644
+--- a/src/StreamDeck/Transport/LibUSBHIDAPI.py
++++ b/src/StreamDeck/Transport/LibUSBHIDAPI.py
+@@ -110,7 +110,7 @@ class LibUSBHIDAPI(Transport):
+ 

+             search_library_names = {

+                 "Windows": ["hidapi.dll", "libhidapi-0.dll"],

+-                "Linux": ["libhidapi-libusb.so", "libhidapi-libusb.so.0"],

++                "Linux": ["@libusb@"],

+                 "Darwin": ["libhidapi.dylib"],

+             }

+