about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sounddevice
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2022-01-11 19:07:58 +0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-01-11 09:26:41 -0800
commit2ebda61ecb0382db8301f402a8568a4b5ac9ca1d (patch)
tree48267ae6decddee98d613836dc26f6347585da86 /pkgs/development/python-modules/sounddevice
parentf19721a00aa1f8e27ee532076377b3796ac2a1d6 (diff)
python3Packages.sounddevice: 0.4.3 → 0.4.4, fix on darwin
Diffstat (limited to 'pkgs/development/python-modules/sounddevice')
-rw-r--r--pkgs/development/python-modules/sounddevice/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/sounddevice/default.nix b/pkgs/development/python-modules/sounddevice/default.nix
index 036f91614b1b9..81f99d76d6ca8 100644
--- a/pkgs/development/python-modules/sounddevice/default.nix
+++ b/pkgs/development/python-modules/sounddevice/default.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , buildPythonPackage
 , fetchPypi
 , isPy27
@@ -10,12 +11,12 @@
 
 buildPythonPackage rec {
   pname = "sounddevice";
-  version = "0.4.3";
+  version = "0.4.4";
   disabled = isPy27;
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "f1667a7467b65fac4c4ebf668b4e9698eb7333fc3d32bc3c7ec9839ea7cb6c20";
+    sha256 = "sha256-9pD1qkGKViaMe9vJfWl8ha3QE0xcedRLiirXobhdp4k=";
   };
 
   propagatedBuildInputs = [ cffi numpy portaudio ];
@@ -28,7 +29,7 @@ buildPythonPackage rec {
   patches = [
     (substituteAll {
       src = ./fix-portaudio-library-path.patch;
-      portaudio = "${portaudio}/lib/libportaudio.so.2";
+      portaudio = "${portaudio}/lib/libportaudio${stdenv.hostPlatform.extensions.sharedLibrary}";
     })
   ];