diff --git a/pkgs/development/python-modules/sounddevice/default.nix b/pkgs/development/python-modules/sounddevice/default.nix index bdb003467f56..2094aa7793d6 100644 --- a/pkgs/development/python-modules/sounddevice/default.nix +++ b/pkgs/development/python-modules/sounddevice/default.nix @@ -9,11 +9,11 @@ buildPythonPackage rec { pname = "sounddevice"; - version = "0.3.12"; + version = "0.3.13"; src = fetchPypi { inherit pname version; - sha256 = "f59ae4e2ec12cb1e5940f06f08804ecca855d959de25ca45a3938de45d0f81a2"; + sha256 = "01x2hm3xxzhxrjcj21si4ggmvkwmy5hag7f6yabqlhwskws721cd"; }; propagatedBuildInputs = [ cffi numpy portaudio ]; @@ -34,4 +34,4 @@ buildPythonPackage rec { license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fridh ]; }; -} \ No newline at end of file +} diff --git a/pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch b/pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch index 5be786ee0f5c..a5761764fdbb 100644 --- a/pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch +++ b/pkgs/development/python-modules/sounddevice/fix-portaudio-library-path.patch @@ -1,8 +1,8 @@ -diff --git a/sounddevice.py b/sounddevice.py -index f03476c..5745b6e 100644 ---- a/sounddevice.py -+++ b/sounddevice.py -@@ -58,28 +58,7 @@ from ctypes.util import find_library as _find_library +diff --git i/sounddevice.py w/sounddevice.py +index c7c1d62..aabcb12 100644 +--- i/sounddevice.py ++++ w/sounddevice.py +@@ -58,29 +58,7 @@ from ctypes.util import find_library as _find_library from _sounddevice import ffi as _ffi @@ -10,6 +10,7 @@ index f03476c..5745b6e 100644 - for _libname in ( - 'portaudio', # Default name on POSIX systems - 'bin\\libportaudio-2.dll', # DLL from conda-forge +- 'lib/libportaudio.dylib', # dylib from anaconda - ): - _libname = _find_library(_libname) - if _libname is not None: